From f75f34249bd55b449dd4e0be08624fe0dcf50b63 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Fri, 12 Jul 2019 14:41:08 +0200 Subject: [PATCH] Fix "Removing bundles/" not actually removing bundles Before: Running `ls -la bundles/` before, and after removing: ls -la bundles/ total 16 drwxr-xr-x 7 root root 224 Jul 12 12:25 . drwxr-xr-x 1 root root 4096 Jul 12 12:30 .. drwxr-xr-x 2 root root 64 Jul 12 10:00 dynbinary drwxr-xr-x 6 root root 192 Jul 12 12:25 dynbinary-daemon lrwxrwxrwx 1 root root 1 Jul 12 12:25 latest -> . drwxr-xr-x 92 root root 2944 Jul 12 12:29 test-integration Removing bundles/ ls -la bundles/ total 16 drwxr-xr-x 7 root root 224 Jul 12 12:25 . drwxr-xr-x 1 root root 4096 Jul 12 12:30 .. drwxr-xr-x 2 root root 64 Jul 12 10:00 dynbinary drwxr-xr-x 6 root root 192 Jul 12 12:25 dynbinary-daemon lrwxrwxrwx 1 root root 1 Jul 12 12:25 latest -> . drwxr-xr-x 92 root root 2944 Jul 12 12:29 test-integration After: Running `ls -la bundles/` before, and after removing: ls -la bundles/ total 16 drwxr-xr-x 7 root root 224 Jul 12 12:25 . drwxr-xr-x 1 root root 4096 Jul 12 12:30 .. drwxr-xr-x 2 root root 64 Jul 12 10:00 dynbinary drwxr-xr-x 6 root root 192 Jul 12 12:25 dynbinary-daemon lrwxrwxrwx 1 root root 1 Jul 12 12:25 latest -> . drwxr-xr-x 92 root root 2944 Jul 12 12:29 test-integration Removing bundles/ ls -la bundles/ total 4 drwxr-xr-x 2 root root 64 Jul 12 12:25 . drwxr-xr-x 1 root root 4096 Jul 12 12:30 .. Signed-off-by: Sebastiaan van Stijn --- hack/make.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/make.sh b/hack/make.sh index e1e3dc46fa..5279e22f06 100755 --- a/hack/make.sh +++ b/hack/make.sh @@ -183,7 +183,7 @@ bundle() { main() { if [ -z "${KEEPBUNDLE-}" ]; then echo "Removing bundles/" - rm -rf "bundles/*" + rm -rf bundles/* echo fi mkdir -p bundles