Removed "ls" in for loop

This commit is contained in:
PanFritz
2015-11-23 01:55:45 +01:00
parent e57f721db3
commit 9d0e4c99ba

View File

@@ -91,7 +91,7 @@ echo -e "\n> All plugins downloaded"
cd "redstoner-utils.py.dir"
echo -e "\n> Duplicating sample files"
for file in ls ./*.example; do
for file in ./*.example; do
cp -v "$file" "$(echo "$file" | rev | cut -d "." -f 2- | rev)"
done