diff options
author | Daiki Ueno <ueno@unixuser.org> | 2012-10-07 06:18:13 +0900 |
---|---|---|
committer | Eitan Isaacson <eitan@monotonous.org> | 2012-10-08 11:55:05 -0700 |
commit | cba1a72412c8223aed94732e75289e5a57dd2e96 (patch) | |
tree | 245f6d610b664bb4b3f1d8cd3c601011179c8b21 /bin/antler-keyboard.in | |
parent | 7215f3385b5daf4dd29ee0fa77d7e542f7aafa20 (diff) | |
download | caribou-cba1a72412c8223aed94732e75289e5a57dd2e96.tar.gz |
portability: use "=" operator instead of "==" in shell scripts
"==" operator is only available in bash but not in the SUSv3 or
POSIX shell specification. This causes a problem with Debian's dash.
https://bugzilla.gnome.org/show_bug.cgi?id=685629
Diffstat (limited to 'bin/antler-keyboard.in')
-rwxr-xr-x | bin/antler-keyboard.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/antler-keyboard.in b/bin/antler-keyboard.in index 3c0b13d..b25956e 100755 --- a/bin/antler-keyboard.in +++ b/bin/antler-keyboard.in @@ -23,7 +23,7 @@ script_dir="$(dirname "$(readlink -f ${0})")" prefix=@prefix@ exec_prefix=@exec_prefix@ -if [ $script_dir == "@libexecdir@" ] +if [ $script_dir = "@libexecdir@" ] then datadir="$(@PYTHON@ -c "from gi.repository import GLib; print ':'.join(GLib.get_system_data_dirs())")" export PYTHONPATH="${prefix}/lib/python@PYTHON_VERSION@/site-packages:${prefix}/lib64/python@PYTHON_VERSION@/site-packages${PYTHONPATH:+:$PYTHONPATH}" |