summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfltk-config.in2
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"