From 86688384ce5ced472d168ad20b8c037e97a29a6e Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sat, 1 Jan 2011 00:10:38 +0000 Subject: 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 --- fltk-config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3