summaryrefslogtreecommitdiff
path: root/bin/mkrc.in
diff options
context:
space:
mode:
authorGravatar Florian Tham <fgtham@gmail.com>2017-02-16 12:44:41 +0100
committerGravatar Mike Burns <mike@mike-burns.com>2017-02-24 17:25:48 -0500
commitf4f6a0722a3f75b2b1e0d820eb6fc3c9d33fa0eb (patch)
treeeb79079e7292cddcf7f83eca36fb358019202d0c /bin/mkrc.in
parent5ea3b46b5359a8bb98757686a212d0fce1f1c34a (diff)
Fixes for the Debian Almquist Shell (dash)
The `[` command, which is a builtin for dash, does not understand the `==` operator; this should be `=` instead. While here, more quotes in more places, including around `$*`. `CONFIG_SHELL=/bin/dash ./configure && make check` reports no failed test. Closes #200.
Diffstat (limited to 'bin/mkrc.in')
-rwxr-xr-xbin/mkrc.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/mkrc.in b/bin/mkrc.in
index 5b2dea5..5d6af7e 100755
--- a/bin/mkrc.in
+++ b/bin/mkrc.in
@@ -5,8 +5,8 @@
destination() {
local dotfiles_dir="$1"
- local dotless=$2
- local in_host=$3
+ local dotless="$2"
+ local in_host="$3"
local tag="$4"
$DEBUG "destination $dotfiles_dir $dotless $in_host $tag"