diff options
author | rmanfredi <rmanfredi@2592e710-e01b-42a5-8df0-11608a6cc53d> | 2010-03-06 20:15:24 +0000 |
---|---|---|
committer | rmanfredi <rmanfredi@2592e710-e01b-42a5-8df0-11608a6cc53d> | 2010-03-06 20:15:24 +0000 |
commit | 45f34b62e4f5cc108e06430cb5dffeba210fab9a (patch) | |
tree | d737b796eb3cf7e8154d1d404cb9207027287e77 /jmake | |
parent | 862f3dc3b64fcff2a9e91d616b1566905443a4e9 (diff) |
Fixed perl startup line since version 5.10 does not support "$*" any longer.
git-svn-id: svn://svn.code.sf.net/p/dist/code/trunk/dist@31 2592e710-e01b-42a5-8df0-11608a6cc53d
Diffstat (limited to 'jmake')
-rwxr-xr-x | jmake/bindex.SH | 2 | ||||
-rwxr-xr-x | jmake/fixcpp.SH | 2 | ||||
-rwxr-xr-x | jmake/jmake.SH | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/jmake/bindex.SH b/jmake/bindex.SH index 3905f85..323e4b7 100755 --- a/jmake/bindex.SH +++ b/jmake/bindex.SH @@ -19,7 +19,7 @@ $spitshell >bindex <<!GROK!THIS! $startperl !GROK!THIS! $spitshell >>bindex <<'!NO!SUBS!' - eval 'exec perl -S $0 "$@"' + eval 'exec perl -S $0 ${1+"$@"}' if $runnning_under_some_shell; # $Id$ diff --git a/jmake/fixcpp.SH b/jmake/fixcpp.SH index f3e8db5..d5b640f 100755 --- a/jmake/fixcpp.SH +++ b/jmake/fixcpp.SH @@ -17,7 +17,7 @@ esac echo "Extracting jmake/fixcpp (with variable substitutions)" $spitshell >fixcpp <<!GROK!THIS! $startperl - eval 'exec perl -S \$0 "\$@"' + eval 'exec perl -S \$0 \${1+"\$@"}' if \$runnning_under_some_shell; # $Id$ diff --git a/jmake/jmake.SH b/jmake/jmake.SH index b6d1277..badb880 100755 --- a/jmake/jmake.SH +++ b/jmake/jmake.SH @@ -17,7 +17,7 @@ esac echo "Extracting jmake/jmake (with variable substitutions)" $spitshell >jmake <<!GROK!THIS! $startperl - eval 'exec perl -S \$0 "\$@"' + eval 'exec perl -S \$0 \${1+"\$@"}' if \$runnning_under_some_shell; # $Id$ |