aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2014-12-08 13:58:39 +0100
committerAleksander Morgado <aleksander@aleksander.es>2014-12-08 13:58:39 +0100
commit739fc4f183c18d7d8b3158a0843046ad2d2edd4f (patch)
treeeaa22d53ac3725b6faf7a643c77380b60c27abd2 /utils
parente80e129be7cbaaca5a77a2fc7d44b16b056d7e4c (diff)
downloadexternal_libqmi-739fc4f183c18d7d8b3158a0843046ad2d2edd4f.zip
external_libqmi-739fc4f183c18d7d8b3158a0843046ad2d2edd4f.tar.gz
external_libqmi-739fc4f183c18d7d8b3158a0843046ad2d2edd4f.tar.bz2
qmi-network: fix bashisms
Equivalent to the fix done in mbim-network, see: https://bugs.freedesktop.org/show_bug.cgi?id=87093
Diffstat (limited to 'utils')
-rwxr-xr-xutils/qmi-network.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/qmi-network.in b/utils/qmi-network.in
index 1470f38..84a46ae 100755
--- a/utils/qmi-network.in
+++ b/utils/qmi-network.in
@@ -47,10 +47,10 @@ version ()
}
if [ $# -ne 2 ]; then
- if [ $1 == "--help" ]; then
+ if [ "$1" == "--help" ]; then
help
exit 0
- elif [ $1 == "--version" ]; then
+ elif [ "$1" == "--version" ]; then
version
exit 0
fi