aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorKoen Kooi <koen.kooi@linaro.org>2014-05-05 10:02:24 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2014-05-05 18:31:29 +0200
commit557d978222dc9a904ce43131c0dfbac1411a8236 (patch)
tree38537c550a5ec7a4cc1e493fe6da9a6b77a5ef01 /meta-oe
parent4b976979fb3e47508b36a622c10f8a8ea881f0ad (diff)
downloadmeta-openembedded-557d978222dc9a904ce43131c0dfbac1411a8236.tar.gz
meta-openembedded-557d978222dc9a904ce43131c0dfbac1411a8236.tar.bz2
meta-openembedded-557d978222dc9a904ce43131c0dfbac1411a8236.zip
php: fix do_installing when S!=B
Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-devtools/php/php.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta-oe/recipes-devtools/php/php.inc b/meta-oe/recipes-devtools/php/php.inc
index d5e53c0e5..b1bf79cfc 100644
--- a/meta-oe/recipes-devtools/php/php.inc
+++ b/meta-oe/recipes-devtools/php/php.inc
@@ -85,10 +85,10 @@ do_install_append_pn-php() {
install -d ${D}/${sysconfdir}/apache2/conf.d
install -m 0644 ${WORKDIR}/php-fpm-apache.conf ${D}/${sysconfdir}/apache2/conf.d/php-fpm.conf
install -d ${D}${sysconfdir}/init.d
- sed -i 's:=/usr/sbin:=${sbindir}:g' ${S}/sapi/fpm/init.d.php-fpm
- sed -i 's:=/etc:=${sysconfdir}:g' ${S}/sapi/fpm/init.d.php-fpm
- sed -i 's:=/var:=${localstatedir}:g' ${S}/sapi/fpm/init.d.php-fpm
- install -m 0755 ${S}/sapi/fpm/init.d.php-fpm ${D}${sysconfdir}/init.d/php-fpm
+ sed -i 's:=/usr/sbin:=${sbindir}:g' ${B}/sapi/fpm/init.d.php-fpm
+ sed -i 's:=/etc:=${sysconfdir}:g' ${B}/sapi/fpm/init.d.php-fpm
+ sed -i 's:=/var:=${localstatedir}:g' ${B}/sapi/fpm/init.d.php-fpm
+ install -m 0755 ${B}/sapi/fpm/init.d.php-fpm ${D}${sysconfdir}/init.d/php-fpm
TMP=`dirname ${D}/${TMPDIR}`
while test ${TMP} != ${D}; do
rmdir ${TMP}