[Python-apps-commits] r10880 - in packages/sabnzbdplus/trunk/debian (sabnzbdplus.init)
jcfp-guest at users.alioth.debian.org
jcfp-guest at users.alioth.debian.org
Wed May 21 18:11:12 UTC 2014
Date: Wednesday, May 21, 2014 @ 18:11:11
Author: jcfp-guest
Revision: 10880
use double quotes
Modified:
packages/sabnzbdplus/trunk/debian/sabnzbdplus.init
Modified: packages/sabnzbdplus/trunk/debian/sabnzbdplus.init
===================================================================
--- packages/sabnzbdplus/trunk/debian/sabnzbdplus.init 2014-05-21 13:51:56 UTC (rev 10879)
+++ packages/sabnzbdplus/trunk/debian/sabnzbdplus.init 2014-05-21 18:11:11 UTC (rev 10880)
@@ -32,7 +32,7 @@
DESC="SABnzbd+ binary newsgrabber"
PIDFILE="/var/run/$NAME/pid"
-DEFOPTS="--daemon --pidfile '$PIDFILE'"
+DEFOPTS="--daemon --pidfile \"$PIDFILE\""
# these are only accepted from the settings file
unset USER CONFIG HOST PORT EXTRAOPTS
@@ -66,10 +66,10 @@
}
OPTIONS="$DEFOPTS"
- [ -n "$CONFIG" ] && OPTIONS="$OPTIONS --config-file '$CONFIG'"
+ [ -n "$CONFIG" ] && OPTIONS="$OPTIONS --config-file \"$CONFIG\""
[ -n "$HOST" ] && SERVER="$HOST" || SERVER=
[ -n "$PORT" ] && SERVER="$SERVER:$PORT"
- [ -n "$SERVER" ] && OPTIONS="$OPTIONS --server '$SERVER'"
+ [ -n "$SERVER" ] && OPTIONS="$OPTIONS --server \"$SERVER\""
[ -n "$EXTRAOPTS" ] && OPTIONS="$OPTIONS $EXTRAOPTS"
fi
return 0
More information about the Python-apps-commits
mailing list