[jasmin-sable] 35/78: Pass arguments to JVM using "$@" instead of $*.
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Tue Feb 10 23:34:39 UTC 2015
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository jasmin-sable.
commit 23bf9e8485c3a41a8d3e27c00d12ef7299ebe6fc
Author: Chris Lamb <chris at chris-lamb.co.uk>
Date: Tue Jul 15 22:12:19 2008 +0100
Pass arguments to JVM using "$@" instead of $*.
Signed-off-by: Chris Lamb <chris at chris-lamb.co.uk>
---
debian/changelog | 1 +
debian/patches/02-jasmin-executable.diff | 5 +++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 7807d4c..c145f07 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ jasmin-sable (2.3.0-1) unstable; urgency=low
* New upstream release.
* Fix formatting error in jasmin(1) manpage.
+ * Pass arguments to JVM using "$@" instead of $*.
* Bump Standards-Version to 3.8.0.
* Tidy debian/rules.
diff --git a/debian/patches/02-jasmin-executable.diff b/debian/patches/02-jasmin-executable.diff
index e6c14bb..f70f7fd 100644
--- a/debian/patches/02-jasmin-executable.diff
+++ b/debian/patches/02-jasmin-executable.diff
@@ -1,7 +1,8 @@
* Use jasmin-sable.jar and cup.jar from their respective packages
+ * Pass arguments using "$@" instead of $*.
- -- Chris Lamb <chris at chris-lamb.co.uk> Wed, 23 Apr 2008 14:29:19 +0100
+ -- Chris Lamb <chris at chris-lamb.co.uk> Tue, 15 Jul 2008 22:10:37 +0100
diff -urNad jasmin-sable-2.2.4.orig/bin/jasmin jasmin-sable-2.2.4/bin/jasmin
--- jasmin-sable-2.2.4.orig/bin/jasmin 2008-02-10 16:41:47.000000000 +0000
@@ -10,5 +11,5 @@ diff -urNad jasmin-sable-2.2.4.orig/bin/jasmin jasmin-sable-2.2.4/bin/jasmin
#!/bin/sh
-java jasmin.Main $*
-+exec java -cp /usr/share/java/jasmin-sable.jar:/usr/share/java/cup.jar jasmin.Main $*
++exec java -cp /usr/share/java/jasmin-sable.jar:/usr/share/java/cup.jar jasmin.Main "$@"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jasmin-sable.git
More information about the pkg-java-commits
mailing list