testing: Only attempt to copy patches if there are any
This commit is contained in:
@@ -55,8 +55,11 @@ do_on_exit umount $LOOPDIR/root/shared
|
|||||||
|
|
||||||
echo "Installing software from source"
|
echo "Installing software from source"
|
||||||
RECPDIR=$DIR/recipes
|
RECPDIR=$DIR/recipes
|
||||||
|
if [ -d "$RECPDIR/patches" ]
|
||||||
|
then
|
||||||
|
execute "cp -r $RECPDIR/patches $LOOPDIR/root/shared/compile" 0
|
||||||
|
fi
|
||||||
RECIPES=`ls $RECPDIR/*.mk | xargs -n1 basename`
|
RECIPES=`ls $RECPDIR/*.mk | xargs -n1 basename`
|
||||||
execute "cp -r $RECPDIR/patches $LOOPDIR/root/shared/compile" 0
|
|
||||||
for r in $RECIPES
|
for r in $RECIPES
|
||||||
do
|
do
|
||||||
cp $RECPDIR/$r ${LOOPDIR}/root/shared/compile
|
cp $RECPDIR/$r ${LOOPDIR}/root/shared/compile
|
||||||
|
|||||||
Reference in New Issue
Block a user