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
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1 +1 @@
|
||||||
firefox-l10n/
|
firefox-l10n/
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
|
|
||||||
LANGS_FILE="./supported-languages"
|
LANGS_FILE="./supported-languages"
|
||||||
|
|
||||||
# Clean up the file
|
# Clean up the file
|
||||||
echo -n > $LANGS_FILE
|
echo -n > $LANGS_FILE
|
||||||
|
|
||||||
# Iterate the directories in the current path
|
# Iterate the directories in the current path
|
||||||
for d in */ ; do
|
for d in */; do
|
||||||
# ignore assets and .github directories
|
# ignore assets and .github directories
|
||||||
if [ "$d" != "assets/" ] && [ "$d" != ".github/" ] && [ "$d" != "en-US/" ] && [ -d "$d" ]; then
|
if [ "$d" != "assets/" ] && [ "$d" != ".github/" ] && [ "$d" != "en-US/" ] && [ -d "$d" ]; then
|
||||||
# Get the directory name
|
# Get the directory name
|
||||||
|
@ -17,5 +16,4 @@ for d in */ ; do
|
||||||
echo >> $LANGS_FILE
|
echo >> $LANGS_FILE
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue