]> Frank Brehm's Git Trees - pixelpark/create-terraform.git/commitdiff
Applying shellcheck to bin/compile-xlate-msgs.sh
authorFrank Brehm <frank.brehm@pixelpark.com>
Wed, 6 Nov 2019 16:20:33 +0000 (17:20 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Wed, 6 Nov 2019 16:20:33 +0000 (17:20 +0100)
bin/compile-xlate-msgs.sh

index e31a56b60b2ac18dd6801f9c91d5dd996afb691c..9836f634e3d2f6cbd4dd74e193bd8b8e370c3bc1 100755 (executable)
@@ -6,14 +6,14 @@ set -u
 this_script=$( readlink -f "$0" )
 cur_dir=$( pwd )
 
-base_dir=$( dirname $( dirname "${this_script}" ) )
-cd ${base_dir}
+base_dir=$( dirname "$( dirname "${this_script}" )" )
+cd "${base_dir}"
 
 locale_dir=locale
 locale_domain="create_terraform"
-pot_file="${locale_dir}/${locale_domain}.pot"
-po_with=99
-my_address="${DEBEMAIL:-frank.brehm@pixelpark.com}"
+pot_file="${locale_dir}/${locale_domain}.pot"
+po_with=99
+my_address="${DEBEMAIL:-frank.brehm@pixelpark.com}"
 
 if [[ ! -d "${locale_dir}" ]] ; then
     echo "Localisation directory '${cur_dir}/${locale_dir}' not found." >&2