Skip to contentSkip to conversation

wipe-sysroot: fix removals

PATCH New Ross Burton 1 participant 1 message Sep 2, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 scripts/wipe-sysroot |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
scripts/wipe-sysroot +4 -4
index 2d2cbea..1c01166 100755
@@ -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
Signature · 1 line
1.7.10.4