aboutsummaryrefslogtreecommitdiffstats
path: root/main/lighttpd/spawn-fcgi.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-09-15 12:23:24 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-09-15 12:23:24 +0000
commit48803c925c4da70af80bddbea1de1c214fe0acd5 (patch)
tree731e41e7c7336e6a4048b9665deefd6c905c0149 /main/lighttpd/spawn-fcgi.initd
parent334ba4029aa89519fda0915bc31e1446f8c84b2e (diff)
downloadaports-48803c925c4da70af80bddbea1de1c214fe0acd5.tar.bz2
aports-48803c925c4da70af80bddbea1de1c214fe0acd5.tar.xz
main/lighttpd: fix bad shell substitution in spawn-fcgi
fixes #160
Diffstat (limited to 'main/lighttpd/spawn-fcgi.initd')
-rw-r--r--main/lighttpd/spawn-fcgi.initd4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/lighttpd/spawn-fcgi.initd b/main/lighttpd/spawn-fcgi.initd
index 63daa75081..a4023a2c25 100644
--- a/main/lighttpd/spawn-fcgi.initd
+++ b/main/lighttpd/spawn-fcgi.initd
@@ -7,6 +7,7 @@ SPAWNFCGI_PID="/var/run/spawn-fcgi.pid"
depend() {
need net
+ after firewall
}
start() {
@@ -21,7 +22,7 @@ start() {
# copy the allowed environment variables
unset E
for i in ${ALLOWED_ENV}; do
- E="${E} ${i}=${!i}"
+ eval "E=\"${E} ${i}=\$${i}\""
done
# clean environment and set up a new one
@@ -49,3 +50,4 @@ stop() {
fi
eend 0
}
+