Browse Source

Merge pull request #286 from ago1024/master

Fix generate-excludelist.sh for Bash 4.1
master
TheAssassin 7 years ago
committed by GitHub
parent
commit
cff70d33b0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tools/generate-excludelist.sh

2
tools/generate-excludelist.sh

@ -37,6 +37,6 @@ EOF
for item in ${blacklisted[@]:0:${#blacklisted[@]}-1}; do
echo -e ' "'"$item"'",' >> "$filename"
done
echo -e ' "'"${blacklisted[-1]}"'"' >> "$filename"
echo -e ' "'"${blacklisted[$((${#blacklisted[@]}-1))]}"'"' >> "$filename"
echo "};" >> "$filename"

Loading…
Cancel
Save