From: Stephano Cetola <stephanoc@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Stephano Cetola <scetola@reachtech.com>
Subject: [meta-oe][PATCH] stop trying to remove folders that do not exist
Date: Tue, 15 Jul 2014 11:01:55 -0700 [thread overview]
Message-ID: <1405447315-798-1-git-send-email-stephanoc@gmail.com> (raw)
From: Stephano Cetola <scetola@reachtech.com>
The directory ${D}/${TMPDIR} does not exist. This patch removes code
that was calling rm and rmdir on that location.
Signed-off-by: Stephano Cetola <scetola@reachtech.com>
---
meta-oe/recipes-devtools/php/php.inc | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/meta-oe/recipes-devtools/php/php.inc b/meta-oe/recipes-devtools/php/php.inc
index b1bf79c..000316b 100644
--- a/meta-oe/recipes-devtools/php/php.inc
+++ b/meta-oe/recipes-devtools/php/php.inc
@@ -90,6 +90,12 @@ do_install_append_pn-php() {
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}`
+ bbwarn "D"
+ bbwarn ${D}
+ bbwarn "TMPDIR"
+ bbwarn ${TMPDIR}
+ bbwarn "TMP"
+ bbwarn ${TMP}
while test ${TMP} != ${D}; do
rmdir ${TMP}
TMP=`dirname ${TMP}`;
--
1.7.10.4
next reply other threads:[~2014-07-15 18:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-15 18:01 Stephano Cetola [this message]
2014-07-15 18:06 ` [meta-oe][PATCH] stop trying to remove folders that do not exist Gary Thomas
2014-07-15 18:07 ` Martin Jansa
2014-07-15 18:33 ` Stephano Cetola
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1405447315-798-1-git-send-email-stephanoc@gmail.com \
--to=stephanoc@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
--cc=scetola@reachtech.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.