[Pkg-php-commits] [php/debian-sid] Fix missing \ in sed command

Ondřej Surý ondrej at sury.org
Fri Mar 18 14:56:25 UTC 2011


---
 debian/rules |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/debian/rules b/debian/rules
index 918f229..3cbe53d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -529,8 +529,8 @@ install: build
 	    debian/php5-fpm/etc/php5/fpm/php-fpm.conf
 	# extract the first pool, called "www," from the config file:
 	sed -nr '/('"'"'|\[)www('"'"'|\])/{h;p;d};x;/www/{x;p}' < fpm-build/sapi/fpm/php-fpm.conf \
-	| sed -e 's/;chdir = \/var\/www/chdir = \"/tmp"' \
 	    > debian/php5-fpm/etc/php5/fpm/pool.d/www.conf
+	sed -i -e 's/;chdir = \/var\/www/chdir = \/tmp/' debian/php5-fpm/etc/php5/fpm/pool.d/www.conf
 
 	# move and install -dev files
 	dh_movefiles --sourcedir=debian/libapache2-mod-php5
-- 
1.7.1





More information about the Pkg-php-commits mailing list