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 692186 - build: autogen.sh uses /bin/sh but depends on advanced shell redirection shorthands
build: autogen.sh uses /bin/sh but depends on advanced shell redirection shor...
Status: RESOLVED FIXED
Product: dconf
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: dconf-maint
dconf-maint
Depends on:
Blocks:
 
 
Reported: 2013-01-21 10:01 UTC by Alban Browaeys
Modified: 2013-01-22 17:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
build: "&>" is a advanced shell extension. Use > and 2>&1 instead. (974 bytes, patch)
2013-01-21 10:01 UTC, Alban Browaeys
committed Details | Review

Description Alban Browaeys 2013-01-21 10:01:59 UTC
Created attachment 233995 [details] [review]
build: "&>" is a advanced shell extension. Use > and 2>&1  instead.

dconf autogen.sh uses /bin/sh as shebang which on debian bind to dash.
Dash has no support for "&>" redirection (both stdout and stderr). Thus
it interpret the command as detach and redirect stdout.
Switch to explicitely redirect stdout and stderr :
"> /dev/null 2>&1" for which "&>" is a shorthand to fix the build
failure.
Comment 1 Allison Karlitskaya (desrt) 2013-01-21 14:34:55 UTC
Review of attachment 233995 [details] [review]:

Thanks!
Comment 2 Alban Browaeys 2013-01-21 20:58:25 UTC
sorry I could commit (not a gnome developer as of now)
Comment 3 Allison Karlitskaya (desrt) 2013-01-22 17:04:05 UTC
Pushing because the reporter does not have commit access.