[gvfs] programs: Fix bashism in gvfs-* wrapper script
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] programs: Fix bashism in gvfs-* wrapper script
- Date: Fri, 29 Sep 2017 06:24:34 +0000 (UTC)
commit ffbe2adcbf7952130b8ea0ef071c92b0c1f19c11
Author: Michael Biebl <biebl debian org>
Date: Thu Sep 28 14:17:10 2017 +0200
programs: Fix bashism in gvfs-* wrapper script
https://bugzilla.gnome.org/show_bug.cgi?id=788289
programs/deprecated.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/programs/deprecated.in b/programs/deprecated.in
index 0072255..7fedf92 100644
--- a/programs/deprecated.in
+++ b/programs/deprecated.in
@@ -7,7 +7,7 @@ help="gio help @command@"
&2 echo "See '$help' for more info."
&2 echo
-if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
+if [ "$1" = "--help" ] || [ "$1" = "-h" ]; then
exec $help "$@:2"
else
exec $replacement "$@"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]