wok-6.x diff php-common/receipt @ rev 19613
Up: libmpdclient (2.10)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Mon Jan 09 19:34:43 2017 +0000 (2017-01-09) |
parents | 55f67249b264 |
children | 970c5ec9a60a |
line diff
1.1 --- a/php-common/receipt Tue Jun 03 01:07:29 2014 +0200 1.2 +++ b/php-common/receipt Mon Jan 09 19:34:43 2017 +0000 1.3 @@ -28,7 +28,7 @@ 1.4 # Backup existing php.ini 1.5 if [ -f "$1/etc/php.ini" ]; then 1.6 echo -n "Creating php.ini backup..." 1.7 - cp $1/etc/php.ini $1/etc/php.ini.bak 1.8 + cp "$1/etc/php.ini" "$1/etc/php.ini.bak" 1.9 status 1.10 fi 1.11 } 1.12 @@ -37,7 +37,7 @@ 1.13 # Restore original php.ini 1.14 if [ -f "$1/etc/php.ini.bak" ]; then 1.15 echo -n "Restoring php.ini backup..." 1.16 - mv -f $1/etc/php.ini.bak $1/etc/php.ini 1.17 + mv -f "$1/etc/php.ini.bak" "$1/etc/php.ini" 1.18 status 1.19 fi 1.20 }