Added a brace expansion
This commit is contained in:
@@ -25,7 +25,7 @@ then
|
|||||||
if [[ -d $path ]]
|
if [[ -d $path ]]
|
||||||
then
|
then
|
||||||
cd "$path"
|
cd "$path"
|
||||||
echo -e "Czyszczę cache w subskrybcji $subscription...\n"
|
echo -e "Czyszczę cache w subskrybcji ${subscription##./}...\n"
|
||||||
ls -1 > "/tmp/dirList.txt"
|
ls -1 > "/tmp/dirList.txt"
|
||||||
readarray -t dirList < /tmp/dirList.txt
|
readarray -t dirList < /tmp/dirList.txt
|
||||||
for dir in "${dirList[@]}"
|
for dir in "${dirList[@]}"
|
||||||
|
|||||||
Reference in New Issue
Block a user