Fix formatting in update-supported-languages.sh and clean up .gitignore

This commit is contained in:
mr. M 2025-01-04 02:31:40 +01:00
parent 8ef008fb65
commit d444262fdb
No known key found for this signature in database
GPG key ID: CBD57A2AEDBDA1FB
2 changed files with 3 additions and 5 deletions

View file

@ -1,11 +1,10 @@
LANGS_FILE="./supported-languages"
# Clean up the file
echo -n > $LANGS_FILE
# Iterate the directories in the current path
for d in */ ; do
for d in */; do
# ignore assets and .github directories
if [ "$d" != "assets/" ] && [ "$d" != ".github/" ] && [ "$d" != "en-US/" ] && [ -d "$d" ]; then
# Get the directory name
@ -18,4 +17,3 @@ for d in */ ; do
fi
fi
done