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 merge requests found
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment