aboutsummaryrefslogtreecommitdiff
path: root/make_install.bash
diff options
context:
space:
mode:
authorEinhard Leichtfuß <alguien@respiranto.de>2022-04-29 15:58:18 +0200
committerEinhard Leichtfuß <alguien@respiranto.de>2022-04-29 15:58:18 +0200
commit4983b8fdf822557fa2bee4d12e690da5cfc43fdf (patch)
tree65c52455bee04eede4d68e61d1e1ec132732abdd /make_install.bash
parentcd11e4fa81c13aecf84f3b82de568b4b074ac113 (diff)
Consistent quoting (again)
Diffstat (limited to 'make_install.bash')
-rwxr-xr-xmake_install.bash6
1 files changed, 3 insertions, 3 deletions
diff --git a/make_install.bash b/make_install.bash
index 1df6acb..fac838f 100755
--- a/make_install.bash
+++ b/make_install.bash
@@ -29,7 +29,7 @@ function main
{
if [ "$#" -lt 2 ]
then
- echo "Usage: $0 <base_dir> <type> (<xy>-<zw>|-a)" >&2
+ echo "Usage: ${0} <base_dir> <type> (<xy>-<zw>|-a)" >&2
exit 1
elif [ "$#" -gt 2 ]
then
@@ -52,7 +52,7 @@ function main
make_install
done
else
- lang=$3
+ lang="$3"
make_install
fi
}
@@ -65,7 +65,7 @@ function main
#
function make_install
{
- pkgname=dict-freedict-${lang}${ext}
+ pkgname="dict-freedict-${lang}${ext}"
input "${script_dir}/sample.install"
replace "%LANG%" "$lang"