ENH: avoid possibly non-portable 'find' with '-printf'

This commit is contained in:
Mark Olesen 2010-04-20 19:14:42 +02:00
parent 5cfa97624e
commit 470b30b58c

View File

@ -113,13 +113,12 @@ then
exit $?
elif [ ! -d $MakeDir ]
then
for dir in `find . \( -type d -a -name Make \) -printf "%h "`
for dir in `find . \( -type d -a -name Make \)`
do
$0 $dir
$0 ${dir%/Make} # parent directory - trim /Make from the end
done
exit 0
fi
fi
# makeOption is not needed beyond this point