mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 15:32:12 +08:00
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:
+2
-2
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user