Create a RPM-directory even if it is not populated with previously built RPMs
--HG-- branch : bgschaid/foam3FixesBranch
This commit is contained in:
parent
d52f7ee5f6
commit
eede987516
2 changed files with 20 additions and 6 deletions
3
ThirdParty/AllMake.stage0
vendored
3
ThirdParty/AllMake.stage0
vendored
|
@ -59,6 +59,7 @@ echo ========================================
|
||||||
echo
|
echo
|
||||||
|
|
||||||
(
|
(
|
||||||
|
rpm_makeRPMvault
|
||||||
|
|
||||||
[ "$#" -gt 0 ] && {
|
[ "$#" -gt 0 ] && {
|
||||||
rpm_populateRPMvault "$@"
|
rpm_populateRPMvault "$@"
|
||||||
|
@ -71,5 +72,3 @@ echo ========================================
|
||||||
echo
|
echo
|
||||||
|
|
||||||
# ----------------------------------------------------------------- end-of-file
|
# ----------------------------------------------------------------- end-of-file
|
||||||
|
|
||||||
|
|
||||||
|
|
17
ThirdParty/tools/makeThirdPartyFunctionsForRPM
vendored
17
ThirdParty/tools/makeThirdPartyFunctionsForRPM
vendored
|
@ -213,6 +213,22 @@ rpm_install()
|
||||||
--dbpath $buildBase/rpmDB --force --nodeps;
|
--dbpath $buildBase/rpmDB --force --nodeps;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#
|
||||||
|
# Populate the local RPM vault with comand-line supplied list of RPMs
|
||||||
|
#
|
||||||
|
rpm_makeRPMvault()
|
||||||
|
{
|
||||||
|
rpmVault=$buildBase/RPMS/$architecture
|
||||||
|
|
||||||
|
if [ ! -e $rpmVault ]; then
|
||||||
|
echo ""
|
||||||
|
echo "Making directory for RPM-files $rpmVault"
|
||||||
|
echo ""
|
||||||
|
|
||||||
|
mkdir -p $rpmVault
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
# Populate the local RPM vault with comand-line supplied list of RPMs
|
# Populate the local RPM vault with comand-line supplied list of RPMs
|
||||||
#
|
#
|
||||||
|
@ -224,7 +240,6 @@ rpm_populateRPMvault()
|
||||||
echo ""
|
echo ""
|
||||||
echo " Moving the following RPMs to the local RPM vault: `echo $@`"
|
echo " Moving the following RPMs to the local RPM vault: `echo $@`"
|
||||||
|
|
||||||
mkdir -p $rpmVault
|
|
||||||
mv $@ $rpmVault
|
mv $@ $rpmVault
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
|
|
Reference in a new issue