Package: service-wrapper-java / 3.5.30-1

bashisms_690722.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: correct bashisms in daemon.sh script
Author: tony mancill <tmancill@debian.org>
Last-Update: 2015-07-11

--- a/src/bin/sh.script.in
+++ b/src/bin/sh.script.in
@@ -393,7 +393,7 @@
     OS_VER=`sw_vers | grep 'ProductVersion:' | grep -o '[0-9]*\.[0-9]*\.[0-9]*\|[0-9]*\.[0-9]*'`
     DIST_ARCH="universal"
     compareVersions "$OS_VER" "10.5.0"
-    if [[ $? < 1 ]]
+    if [ $? < 1 ]
     then
         DIST_BITS="32"
         KEY_KEEP_ALIVE="OnDemand"