ENH: avoid possibly non-portable 'find' with '-printf'
This commit is contained in:
parent
5cfa97624e
commit
470b30b58c
@ -113,13 +113,12 @@ then
|
|||||||
exit $?
|
exit $?
|
||||||
elif [ ! -d $MakeDir ]
|
elif [ ! -d $MakeDir ]
|
||||||
then
|
then
|
||||||
for dir in `find . \( -type d -a -name Make \) -printf "%h "`
|
for dir in `find . \( -type d -a -name Make \)`
|
||||||
do
|
do
|
||||||
$0 $dir
|
$0 ${dir%/Make} # parent directory - trim /Make from the end
|
||||||
done
|
done
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# makeOption is not needed beyond this point
|
# makeOption is not needed beyond this point
|
||||||
|
Loading…
Reference in New Issue
Block a user