Skip to content
Snippets Groups Projects
Commit 470b30b5 authored by Mark Olesen's avatar Mark Olesen
Browse files

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

parent 5cfa9762
No related branches found
No related tags found
No related merge requests found
...@@ -113,13 +113,12 @@ then ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment