aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-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 1d83009419ae4..47148bac55ad3 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