diff options
| author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-05-10 16:22:17 +0100 |
|---|---|---|
| committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-05-14 23:47:37 +0100 |
| commit | e1e316edeec9c0e9ad12cc0f0d3d73d4d699bef3 (patch) | |
| tree | 1a1584947f78a300e9fdf8616c083f004f630f5a | |
| parent | 25ddcf5d9e13d89f4e196ca6f5724ef73524841d (diff) | |
| download | meta-openembedded-e1e316edeec9c0e9ad12cc0f0d3d73d4d699bef3.tar.gz | |
modphp: fix re-exec of do_install
Copying files and then modifying them is preferred rather than the other
way around because then the modification can never be run twice if the
function is re-executed on an existing work directory.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
| -rw-r--r-- | meta-webserver/recipes-php/modphp/modphp5.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-webserver/recipes-php/modphp/modphp5.inc b/meta-webserver/recipes-php/modphp/modphp5.inc index 62b59a1c78..192abd799c 100644 --- a/meta-webserver/recipes-php/modphp/modphp5.inc +++ b/meta-webserver/recipes-php/modphp/modphp5.inc | |||
| @@ -65,8 +65,8 @@ do_install () { | |||
| 65 | install -d ${D}${sysconfdir}/apache2/modules.d | 65 | install -d ${D}${sysconfdir}/apache2/modules.d |
| 66 | install -d ${D}${sysconfdir}/php/apache2-php5 | 66 | install -d ${D}${sysconfdir}/php/apache2-php5 |
| 67 | install -m 755 libs/libphp5.so ${D}${libdir}/apache2/modules | 67 | install -m 755 libs/libphp5.so ${D}${libdir}/apache2/modules |
| 68 | sed -i s,lib/,${libdir}/, ${WORKDIR}/70_mod_php5.conf | ||
| 69 | install -m 644 ${WORKDIR}/70_mod_php5.conf ${D}${sysconfdir}/apache2/modules.d | 68 | install -m 644 ${WORKDIR}/70_mod_php5.conf ${D}${sysconfdir}/apache2/modules.d |
| 69 | sed -i s,lib/,${libdir}/, ${D}${sysconfdir}/apache2/modules.d/70_mod_php5.conf | ||
| 70 | cat ${S}/php.ini-production | \ | 70 | cat ${S}/php.ini-production | \ |
| 71 | sed -e 's,extension_dir = \"\./\",extension_dir = \"/usr/lib/extensions\",' \ | 71 | sed -e 's,extension_dir = \"\./\",extension_dir = \"/usr/lib/extensions\",' \ |
| 72 | > ${D}${sysconfdir}/php/apache2-php5/php.ini | 72 | > ${D}${sysconfdir}/php/apache2-php5/php.ini |
