Author: mike
Date: 2010-12-31 16:10:38 -0800 (Fri, 31 Dec 2010)
New Revision: 8149
Log:
Fix fltk-config --post - script wrapper for app bundle had broken dirname call.


Modified:
   branches/branch-1.3/fltk-config.in

Modified: branches/branch-1.3/fltk-config.in
===================================================================
--- branches/branch-1.3/fltk-config.in  2010-12-31 22:38:03 UTC (rev 8148)
+++ branches/branch-1.3/fltk-config.in  2011-01-01 00:10:38 UTC (rev 8149)
@@ -307,7 +307,7 @@
 
            # 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"
 

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to