summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2014-12-02 05:59:26 +0000
committerTails developers <amnesia@boum.org>2014-12-02 05:59:26 +0000
commite60e6c7fcf07d0d83fcc708ab721d44506caf1bd (patch)
treef2ddf1da25fdadb19e3eb60315d4b1d2ee8c080e
parent0686cc2ddd04f38794f34ab1f921a08638ded0aa (diff)
Use quoting more consistently in check_po.sh.
-rwxr-xr-xwiki/src/contribute/l10n_tricks/check_po.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/wiki/src/contribute/l10n_tricks/check_po.sh b/wiki/src/contribute/l10n_tricks/check_po.sh
index 6ca86df..f815cf9 100755
--- a/wiki/src/contribute/l10n_tricks/check_po.sh
+++ b/wiki/src/contribute/l10n_tricks/check_po.sh
@@ -33,7 +33,7 @@ no-report-msgid-bugs-to-header-field
no-version-in-project-id-version
unable-to-determine-language
unknown-poedit-language
-" | grep -v '^$' > $PATTERNS_FILE
+" | grep -v '^$' > "$PATTERNS_FILE"
if [ -n "$ONLY_LANG" ]; then
FILE_GLOB="*.${ONLY_LANG}.po"
@@ -45,7 +45,7 @@ CPUS=$(egrep '^processor[[:space:]]+:' /proc/cpuinfo | wc -l)
OUTPUT=$(find -iname "$FILE_GLOB" -print0 \
| xargs -0 --max-procs="$CPUS" --max-args=64 i18nspector \
| grep -v --line-regexp '' \
- | grep -v -f $PATTERNS_FILE)
+ | grep -v -f "$PATTERNS_FILE")
echo -n "$OUTPUT"