void-packages/srcpkgs/gvfs/patches/gvfs-deprecated_remove_bash...

12 lines
346 B
Diff

--- 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 "$@"