gvfs: fix bashism in gvfs-* action scripts (#6205)
This commit is contained in:
11
srcpkgs/gvfs/patches/gvfs-deprecated_remove_bashism.patch
Normal file
11
srcpkgs/gvfs/patches/gvfs-deprecated_remove_bashism.patch
Normal 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 "$@"
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
# Template file for 'gvfs'
|
# Template file for 'gvfs'
|
||||||
pkgname=gvfs
|
pkgname=gvfs
|
||||||
version=1.32.1
|
version=1.32.1
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-hal --disable-libsystemd-login
|
configure_args="--disable-hal --disable-libsystemd-login
|
||||||
--with-bash-completion-dir=/usr/share/bash-completion/completions
|
--with-bash-completion-dir=/usr/share/bash-completion/completions
|
||||||
|
|||||||
Reference in New Issue
Block a user