aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/helpers/cache
diff options
context:
space:
mode:
Diffstat (limited to 'bootstrap/helpers/cache')
-rwxr-xr-xbootstrap/helpers/cache6
1 files changed, 3 insertions, 3 deletions
diff --git a/bootstrap/helpers/cache b/bootstrap/helpers/cache
index 267b442..ac7c8d2 100755
--- a/bootstrap/helpers/cache
+++ b/bootstrap/helpers/cache
@@ -1,4 +1,4 @@
#!/bin/sh -eu
-cachedir=$(dirname "$(pwd)")/app/storage/cache;
-rm -r "${cachedir:?}/"* > /dev/null 2>&1 || { echo "Nothing to invalidate in ${cachedir:?}" && exit; };
-echo "Cache invalidated in ${cachedir:?}";
+cachedir=$(dirname "$(pwd)")/storage/cache
+rm --recursive "${cachedir:?}/"* >/dev/null 2>&1 || { printf "Nothing to invalidate in %s\n" "${cachedir:?}" && exit; }
+printf "Cache invalidated in %s\n" "${cachedir:?}"