diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2008-08-26 19:21:22 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2008-08-26 19:21:22 +0000 |
| commit | e9b9ec812ddab4d0d4870ad1f123ea6237fc6d0d (patch) | |
| tree | 7a4606cdb0fb2c9db6758d235a707b581c4f7c14 | |
| parent | 05a6292ac02f04b85db8d65f291561907908babd (diff) | |
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
| -rwxr-xr-x | fltk-config.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fltk-config.in b/fltk-config.in index 08a08cc28..d1563258b 100755 --- a/fltk-config.in +++ b/fltk-config.in @@ -4,7 +4,7 @@ # # 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 # 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 echo "#!/bin/sh" >"$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" # Make the simplest Info.plist needed for an application |
