Patchwork wipe-sysroot: fix removals

login
register
mail settings
Submitter Ross Burton
Date Sept. 2, 2013, 3:20 p.m.
Message ID <1378135237-5359-1-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/57233/
State Accepted
Commit 5eca43debd7fbc861d41f4e260b37282915bd053
Headers show

Comments

Ross Burton - Sept. 2, 2013, 3:20 p.m.
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@intel.com>
---
 scripts/wipe-sysroot |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Patch

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