diff --git a/build/buildlib.sh b/build/buildlib.sh index 6b9da6389a..5092bff5f5 100755 --- a/build/buildlib.sh +++ b/build/buildlib.sh @@ -59,7 +59,7 @@ fi if [ ! -f $root/.nothanks ] && [ $uncompressed/.complete -ot $uncompressed ] ; then echo remove stale .complete rm $uncompressed/.complete - cd $uncompressed && $MAKE clean distclean + sh -c "cd $uncompressed && $MAKE clean distclean" fi if [ -f $uncompressed/.complete ] ; then