mirror of
https://github.com/zen-browser/l10n-packs.git
synced 2025-07-07 08:55:35 +02:00
Fix formatting in update-supported-languages.sh and clean up .gitignore
This commit is contained in:
parent
8ef008fb65
commit
d444262fdb
2 changed files with 3 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue