From e9b9ec812ddab4d0d4870ad1f123ea6237fc6d0d Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 26 Aug 2008 19:21:22 +0000 Subject: 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 --- fltk-config.in | 4 ++-- 1 file 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 -- cgit v1.2.3