Am 28.09.2017 um 13:27 schrieb Michael Biebl:
> if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then

> Unfortunately there is a bashism in the script above which breaks --help
> ("==" should be replaced by "=").
gvfs-info is apparently not the only tool affected by this:

$ grep "==" /usr/bin/gvfs-*
/usr/bin/gvfs-cat:if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
/usr/bin/gvfs-copy:if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
/usr/bin/gvfs-info:if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
/usr/bin/gvfs-ls:if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
/usr/bin/gvfs-mime:if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
/usr/bin/gvfs-mkdir:if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
/usr/bin/gvfs-monitor-dir:if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
/usr/bin/gvfs-monitor-file:if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
/usr/bin/gvfs-mount:if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
/usr/bin/gvfs-move:if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
/usr/bin/gvfs-open:if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
/usr/bin/gvfs-rename:if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
/usr/bin/gvfs-rm:if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
/usr/bin/gvfs-save:if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
/usr/bin/gvfs-set-attribute:if [ "$1" == "--help" ] || [ "$1" == "-h" ];
then
/usr/bin/gvfs-trash:if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then
/usr/bin/gvfs-tree:if [ "$1" == "--help" ] || [ "$1" == "-h" ]; then

Those need to be fixed as well.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to