newer version
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user