ENH: avoid possibly non-portable 'find' with '-printf'
This commit is contained in:
parent
5cfa97624e
commit
470b30b58c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user