From 654c2007098c1fac2f9e37863cb609982f0ffe1c Mon Sep 17 00:00:00 2001 From: jkaberg Date: Tue, 12 Aug 2014 13:12:57 +0200 Subject: [PATCH] properly escape $ --- setup/zpush.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/zpush.sh b/setup/zpush.sh index 7e2c0cf2..6786fdbe 100755 --- a/setup/zpush.sh +++ b/setup/zpush.sh @@ -32,7 +32,7 @@ fi # Configure default config TIMEZONE=`cat /etc/timezone` -sed -i "s/define('TIMEZONE', .*/define('TIMEZONE', '$TIMEZONE');/" /usr/local/lib/z-push/config.php +sed -i "s/define('TIMEZONE', .*/define('TIMEZONE', '\$TIMEZONE');/" /usr/local/lib/z-push/config.php sed -i "s/define('BACKEND_PROVIDER', .*/define('BACKEND_PROVIDER', 'BackendCombined');/" /usr/local/lib/z-push/config.php # Configure BACKEND