summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-09-02 16:20:37 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-02 18:02:54 +0100
commit5eca43debd7fbc861d41f4e260b37282915bd053 (patch)
tree2491832edd826e29ca964ca1d1d71fd2095b2fea
parent1cdc1b37b840bda961258cf2bfb2f75331bdb310 (diff)
downloadopenembedded-core-5eca43debd7fbc861d41f4e260b37282915bd053.tar.gz
openembedded-core-5eca43debd7fbc861d41f4e260b37282915bd053.tar.bz2
openembedded-core-5eca43debd7fbc861d41f4e260b37282915bd053.zip
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@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xscripts/wipe-sysroot8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/wipe-sysroot b/scripts/wipe-sysroot
index 2d2cbeac8c..1c01166cb9 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