Dominique Leuenberger
a906897652
fix bashisms in mbim-network script OBS-URL: https://build.opensuse.org/request/show/263487 OBS-URL: https://build.opensuse.org/package/show/network/libmbim?expand=0&rev=9
17 lines
528 B
Diff
17 lines
528 B
Diff
diff -Ndur libmbim-1.10.0/utils/mbim-network.in libmbim-1.10.0-fix-bashisms/utils/mbim-network.in
|
|
--- libmbim-1.10.0/utils/mbim-network.in 2014-01-22 12:17:48.000000000 +0200
|
|
+++ libmbim-1.10.0-fix-bashisms/utils/mbim-network.in 2014-11-27 02:57:48.792248052 +0200
|
|
@@ -50,10 +50,10 @@
|
|
}
|
|
|
|
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
|