Make scripts more portable

This commit is contained in:
heyarne 2021-04-07 07:18:17 +00:00 committed by Georg Krause
parent 5fded7a701
commit 39405bbc3e
7 changed files with 26 additions and 8 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash -eu
#!/usr/bin/env -S bash -eux
# Typical use:
# cp -r locales old_locales
@ -6,6 +6,8 @@
# ./scripts/i18n-populate-contextualized-strings.sh old_locales locales
# Then review/commit the changes
cd "$(dirname $0)/.." # change into base directory
old_locales_dir=$1
new_locales_dir=$2