Skip to content

Commit

Permalink
Use $@ for arguments passed to the bundled executable.
Browse files Browse the repository at this point in the history
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6170 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
michaelrsweet committed Aug 26, 2008
1 parent 05a6292 commit e9b9ec8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fltk-config.in
Expand Up @@ -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
#
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit e9b9ec8

Please sign in to comment.