diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2011-01-01 00:10:38 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2011-01-01 00:10:38 +0000 |
| commit | 86688384ce5ced472d168ad20b8c037e97a29a6e (patch) | |
| tree | 9805a82a247181291069d3c2c963d4ccf77299d1 | |
| parent | 91c9c024cc60f2af401f5b807ef5187448f263b3 (diff) | |
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
| -rwxr-xr-x | fltk-config.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fltk-config.in b/fltk-config.in index 23fa799bd..2cc6f10ab 100755 --- a/fltk-config.in +++ b/fltk-config.in @@ -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" |
