summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2017-09-28 14:17:10 +0200
committerOndrej Holy <oholy@redhat.com>2017-09-29 08:23:52 +0200
commitffbe2adcbf7952130b8ea0ef071c92b0c1f19c11 (patch)
treeb17b2e5e2f83c0378759b7b317e9151cffe6e7de
parent3c03e4e49af9230bff583d14ce2f34cad55db6d2 (diff)
downloadgvfs-ffbe2adcbf7952130b8ea0ef071c92b0c1f19c11.tar.gz
programs: Fix bashism in gvfs-* wrapper script
https://bugzilla.gnome.org/show_bug.cgi?id=788289
-rw-r--r--programs/deprecated.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/programs/deprecated.in b/programs/deprecated.in
index 00722557..7fedf927 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 "$@"