aboutsummaryrefslogtreecommitdiff
path: root/system/jdiskreport
diff options
context:
space:
mode:
authorAlan Alberghini <414N@slacky.it>2012-12-18 17:00:14 -0500
committerdsomero <xgizzmo@slackbuilds.org>2012-12-23 09:16:47 -0500
commit4d841526538160b1ee1bc6eea1defecd06184f6a (patch)
treea04ff9d590829ed90951236f59695ffa57f9262d /system/jdiskreport
parent719a45fae61b4454832332a6b43fe9b36a04fa06 (diff)
system/jdiskreport: Fixed bug in wrapper script.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/jdiskreport')
-rw-r--r--system/jdiskreport/jdiskreport.SlackBuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/system/jdiskreport/jdiskreport.SlackBuild b/system/jdiskreport/jdiskreport.SlackBuild
index 1d83009419ae..47148bac55ad 100644
--- a/system/jdiskreport/jdiskreport.SlackBuild
+++ b/system/jdiskreport/jdiskreport.SlackBuild
@@ -28,11 +28,13 @@
#
# 1 - Initial release.
# 20120404 - Updated for version 1.4.0
+# 20121211 - Corrected "$@" to "\$@" in the /usr/bin script creation
PRGNAM=jdiskreport
VERSION=${VERSION:-1.4.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+
ARCH=noarch
CWD=$(pwd)
@@ -68,7 +70,7 @@ install -m0644 "$CWD/jdiskreport.desktop" $PKG/usr/share/applications
cat > $PKG/usr/bin/jdiskreport << END
#!/bin/sh
-java -jar /opt/jdiskreport/jdiskreport-$VERSION.jar "$@"
+java -jar /opt/jdiskreport/jdiskreport-$VERSION.jar "\$@"
END