diff --git a/clearCache.sh b/clearCache.sh index 3fb72f6..0b74399 100644 --- a/clearCache.sh +++ b/clearCache.sh @@ -22,7 +22,7 @@ then for path in "$subscription/httpdocs/shopsystem/application/cache/boxes"* "$subscription/httpdocs/shopsystem/appcation/cache/smarty_compiled" do - if [[ -d "$path" ]] + if [[ -d $path ]] then cd "$path" echo -e "CzyszczÄ™ cache w subskrybcji $subscription...\n" @@ -47,4 +47,4 @@ fi if [[ -f "/tmp/subscriptions.txt" ]] && [[ -f "/tmp/dirList.txt" ]] then rm -r "/tmp/subscriptions.txt" "/tmp/dirList.txt" -fi +fi \ No newline at end of file