gvfs: fix bashism in gvfs-* action scripts (#6205)

This commit is contained in:
masato9000 2017-04-17 23:22:31 -07:00 committed by Juan RP
parent 4a0788077b
commit 445932fed2
2 changed files with 12 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- programs/deprecated.in 2017-04-17 14:01:00.783094604 -0700
+++ programs/deprecated.in 2017-04-17 14:02:43.644606806 -0700
@@ -7,7 +7,7 @@
>&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 "$@"

View File

@ -1,7 +1,7 @@
# Template file for 'gvfs'
pkgname=gvfs
version=1.32.1
revision=1
revision=2
build_style=gnu-configure
configure_args="--disable-hal --disable-libsystemd-login
--with-bash-completion-dir=/usr/share/bash-completion/completions