From 34ca29b9a4bfe24f9eb24a77f6fb62d9fd9d31e0 Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Tue, 16 Sep 2014 09:09:54 -0400 Subject: [PATCH] dont escape exclamation points in sh scripts --- debian/ngcp-rtpengine-daemon.init | 4 ++-- el/rtpengine.init | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/debian/ngcp-rtpengine-daemon.init b/debian/ngcp-rtpengine-daemon.init index 6303f749f..54c15bf04 100755 --- a/debian/ngcp-rtpengine-daemon.init +++ b/debian/ngcp-rtpengine-daemon.init @@ -45,9 +45,9 @@ set -e OPTIONS="" [ -z "$ADDRESS" ] || OPTIONS="$OPTIONS --interface=$ADDRESS" -[ -z "$ADV_ADDRESS" ] || OPTIONS="$OPTIONS\!$ADV_ADDRESS" +[ -z "$ADV_ADDRESS" ] || OPTIONS="$OPTIONS!$ADV_ADDRESS" [ -z "$ADDRESS_IPV6" ] || OPTIONS="$OPTIONS --interface=$ADDRESS_IPV6" -[ -z "$ADV_ADDRESS_IPV6" ] || OPTIONS="$OPTIONS\!$ADV_ADDRESS_IPV6" +[ -z "$ADV_ADDRESS_IPV6" ] || OPTIONS="$OPTIONS!$ADV_ADDRESS_IPV6" [ -z "$LISTEN_TCP" ] || OPTIONS="$OPTIONS --listen-tcp=$LISTEN_TCP" [ -z "$LISTEN_UDP" ] || OPTIONS="$OPTIONS --listen-udp=$LISTEN_UDP" [ -z "$LISTEN_NG" ] || OPTIONS="$OPTIONS --listen-ng=$LISTEN_NG" diff --git a/el/rtpengine.init b/el/rtpengine.init index 2a7371608..6532db70f 100644 --- a/el/rtpengine.init +++ b/el/rtpengine.init @@ -63,7 +63,7 @@ build_opts() { if [[ -n "$RTP_ADV_IP" ]] then - OPTS+="\!$RTP_ADV_IP" + OPTS+="!$RTP_ADV_IP" fi if [[ -n "$RTP_IP6" ]] @@ -74,7 +74,7 @@ build_opts() { if [[ -n "$RTP_ADV_IP6" ]] then - OPTS+="\!$RTP_ADV_IP6" + OPTS+="!$RTP_ADV_IP6" fi if [[ -n "$LISTEN_TCP" ]]