Fix fltk-config --post - script wrapper for app bundle had broken dirname call.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8149 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet 2011-01-01 00:10:38 +00:00
parent 91c9c024cc
commit 86688384ce

View File

@ -307,7 +307,7 @@ if test -n "$post"; then
# Make a shell script that runs the bundled executable
echo "#!/bin/sh" >"$post"
echo 'dir="`dirname '"'"'$0'"'"'`"' >>"$post"
echo 'dir="`dirname \"$0\"`"' >>"$post"
echo 'exec "$dir/'"$post.app/Contents/MacOS/$post"'" "$@"' >>"$post"
chmod +x "$post"