Use $@ for arguments passed to the bundled executable.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6170 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet
2008-08-26 19:21:22 +00:00
parent 05a6292ac0
commit e9b9ec812d
+2 -2
View File
@@ -4,7 +4,7 @@
# #
# FLTK configuration utility. # FLTK configuration utility.
# #
# Copyright 2000-2007 by Bill Spitzak and others. # Copyright 2000-2008 by Bill Spitzak and others.
# Original version Copyright 2000 by James Dean Palmer # Original version Copyright 2000 by James Dean Palmer
# Adapted by Vincent Penne and Michael Sweet # Adapted by Vincent Penne and Michael Sweet
# #
@@ -283,7 +283,7 @@ if test -n "$post"; then
# Make a shell script that runs the bundled executable # Make a shell script that runs the bundled executable
echo "#!/bin/sh" >"$post" echo "#!/bin/sh" >"$post"
echo 'dir="`dirname $0`"' >>"$post" echo 'dir="`dirname $0`"' >>"$post"
echo 'exec "$dir/'"$post.app/Contents/MacOS/$post"'" $*' >>"$post" echo 'exec "$dir/'"$post.app/Contents/MacOS/$post"'" "$@"' >>"$post"
chmod +x "$post" chmod +x "$post"
# Make the simplest Info.plist needed for an application # Make the simplest Info.plist needed for an application