Public bug reported: jardetector is missing quotes around $1:
jar tf $1 META-INF/MANIFEST.MF | grep META-INF/MANIFEST.MF >/dev/null That causes it to throw an exception if the filename contains spaces. (Also, shouldn't jardetector return an exit code? I'm not sure if it actually does anything useful.) ProblemType: Bug DistroRelease: Ubuntu 14.10 Package: jarwrapper 0.46ubuntu2 [modified: usr/bin/jardetector] Uname: Linux 3.19.0-031900rc6-generic x86_64 ApportVersion: 2.14.7-0ubuntu8.2 Architecture: amd64 CurrentDesktop: KDE Date: Wed Mar 25 01:09:28 2015 EcryptfsInUse: Yes InstallationDate: Installed on 2013-04-05 (719 days ago) InstallationMedia: Kubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.1) PackageArchitecture: all SourcePackage: javatools UpgradeStatus: Upgraded to utopic on 2014-09-29 (177 days ago) ** Affects: javatools (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug utopic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1436208 Title: jardetector does not handle filenames with spaces To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/javatools/+bug/1436208/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs