After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 788289 - bashism in gvfs-* utils
bashism in gvfs-* utils
Status: RESOLVED FIXED
Product: gvfs
Classification: Core
Component: general
1.34.x
Other Linux
: Normal normal
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2017-09-28 12:17 UTC by Michael Biebl
Modified: 2017-09-29 06:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix bashism in gvfs-* wrapper script (755 bytes, patch)
2017-09-28 12:18 UTC, Michael Biebl
committed Details | Review

Description Michael Biebl 2017-09-28 12:17:01 UTC
The gvfs-* wrapper script contains a bashism "==" which breaks the tool if /bin/sh doesn't point to /bin/bash, like is the case on Debian derived distros where /bin/sh is provided by dash.

The attached patch fixes the bashism.
Comment 1 Michael Biebl 2017-09-28 12:18:10 UTC
Created attachment 360599 [details] [review]
Fix bashism in gvfs-* wrapper script
Comment 2 Ondrej Holy 2017-09-29 06:23:38 UTC
Review of attachment 360599 [details] [review]:

Thanks!