[javatools] 01/01: quote argument to jardetector (closes: 779881)

Tony Mancill tmancill at moszumanska.debian.org
Fri Mar 6 02:14:12 UTC 2015


This is an automated email from the git hooks/post-receive script.

tmancill pushed a commit to branch master
in repository javatools.

commit b9d8bc3b8a91841309c16d5d9c558281d2cdfe8a
Author: tony mancill <tmancill at debian.org>
Date:   Thu Mar 5 18:13:01 2015 -0800

    quote argument to jardetector (closes: 779881)
    
    This allows jardetector to handle spaces in paths.
---
 debian/changelog | 8 ++++++++
 jardetector      | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 940b734..4ceb8e7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+javatools (0.50) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Quote argument in jardetector to handle spaces in filenames.
+    Thanks to Samuel Bronson for the bug report. (Closes: #779881)
+
+ -- tony mancill <tmancill at debian.org>  Thu, 05 Mar 2015 17:09:24 -0800
+
 javatools (0.49) experimental; urgency=medium
 
   * Team upload.
diff --git a/jardetector b/jardetector
index 4cdd3c0..171ae58 100755
--- a/jardetector
+++ b/jardetector
@@ -1,3 +1,3 @@
 #!/bin/sh -- 
 
-jar tf $1 META-INF/MANIFEST.MF | grep META-INF/MANIFEST.MF >/dev/null
+jar tf "$1" META-INF/MANIFEST.MF | grep META-INF/MANIFEST.MF >/dev/null

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/javatools.git



More information about the pkg-java-commits mailing list