aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/test/test.sh4
-rwxr-xr-xbin/toggle-keyboard-layout.sh2
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/test/test.sh b/bin/test/test.sh
index b9bf1b5..666818a 100755
--- a/bin/test/test.sh
+++ b/bin/test/test.sh
@@ -24,7 +24,7 @@ set +e
status=0
# license main.cpp
-$license $dir/main.cpp
+$license "$dir/main.cpp"
d=$(diff "$dir/main.cpp" "$dir/main.cpp.expected")
if [ ! -z "$d" ]; then
echo "$d"
@@ -32,7 +32,7 @@ if [ ! -z "$d" ]; then
fi
# license README.md
-$license $dir/README.md
+$license "$dir/README.md"
d=$(diff "$dir/README.md" "$dir/README.md.expected")
if [ ! -z "$d" ]; then
echo "$d"
diff --git a/bin/toggle-keyboard-layout.sh b/bin/toggle-keyboard-layout.sh
index df1d2bc..cb731dd 100755
--- a/bin/toggle-keyboard-layout.sh
+++ b/bin/toggle-keyboard-layout.sh
@@ -18,7 +18,7 @@
# to him.
layout=$(setxkbmap -query | awk '/layout/{print $2}')
-if [ $layout == 'us' ]
+if [ "$layout" == 'us' ]
then
setxkbmap es
else