From d444262fdb32071eb995c5266ad4fe8846f650f1 Mon Sep 17 00:00:00 2001 From: "mr. M" Date: Sat, 4 Jan 2025 02:31:40 +0100 Subject: [PATCH] Fix formatting in update-supported-languages.sh and clean up .gitignore --- .gitignore | 2 +- update-supported-languages.sh | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index d2a47b66..ef9159c9 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -firefox-l10n/ \ No newline at end of file +firefox-l10n/ diff --git a/update-supported-languages.sh b/update-supported-languages.sh index 7d9c0149..ae27a816 100644 --- a/update-supported-languages.sh +++ b/update-supported-languages.sh @@ -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 @@ -17,5 +16,4 @@ for d in */ ; do echo >> $LANGS_FILE fi fi -done - +done