[oe-commits] Ross Burton : wipe-sysroot: fix removals

git at git.openembedded.org git at git.openembedded.org
Mon Sep 2 16:51:40 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 5eca43debd7fbc861d41f4e260b37282915bd053
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=5eca43debd7fbc861d41f4e260b37282915bd053

Author: Ross Burton <ross.burton at intel.com>
Date:   Mon Sep  2 16:20:37 2013 +0100

wipe-sysroot: fix removals

The previous changes were totally broken as quoting globs doesn't work.  Remove
the quotes so the rm commands actually delete the stamps.

Signed-off-by: Ross Burton <ross.burton at intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 scripts/wipe-sysroot |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/scripts/wipe-sysroot b/scripts/wipe-sysroot
index 2d2cbea..1c01166 100755
--- a/scripts/wipe-sysroot
+++ b/scripts/wipe-sysroot
@@ -34,11 +34,11 @@ if [ -z "$SSTATE_MANIFESTS" -o -z "$STAGING_DIR" -o -z "$STAMPS_DIR" ]; then
 fi
 
 # The sysroots themselves
-rm -rf "$STAGING_DIR"
+rm -rf $STAGING_DIR
 
 # The stamps that said the sysroot was populated
-rm -rf "$STAMPS_DIR/*/*/*.do_populate_sysroot.*"
-rm -rf "$STAMPS_DIR/*/*/*.do_populate_sysroot_setscene.*"
+rm -rf $STAMPS_DIR/*/*/*.do_populate_sysroot.*
+rm -rf $STAMPS_DIR/*/*/*.do_populate_sysroot_setscene.*
 
 # The sstate manifests
-rm -rf "$SSTATE_MANIFESTS/manifest-*.populate-sysroot"
+rm -rf $SSTATE_MANIFESTS/manifest-*.populate-sysroot



More information about the Openembedded-commits mailing list