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 620805 - Use bash explicitely in the pre-commit hook.
Use bash explicitely in the pre-commit hook.
Status: RESOLVED FIXED
Product: pygi
Classification: Deprecated
Component: general
unspecified
Other All
: Normal normal
: 0.6
Assigned To: pygi-maint
pygi-maint
Depends on:
Blocks:
 
 
Reported: 2010-06-07 07:57 UTC by Steve Frécinaux
Modified: 2010-06-09 07:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Use bash explicitely in the pre-commit hook. (764 bytes, patch)
2010-06-07 07:57 UTC, Steve Frécinaux
committed Details | Review

Description Steve Frécinaux 2010-06-07 07:57:14 UTC
Avoid making the pre-commit hook fail when using another default sh.
Comment 1 Steve Frécinaux 2010-06-07 07:57:16 UTC
Created attachment 162907 [details] [review]
Use bash explicitely in the pre-commit hook.

The "builtin" command is not available in all sh flavours, so the
pre-commit hook is going to fail if you use dash or others instead of
bash as your default 'sh' alias.
Comment 2 johnp 2010-06-08 17:34:11 UTC
Comment on attachment 162907 [details] [review]
Use bash explicitely in the pre-commit hook.

commit
Comment 3 Steve Frécinaux 2010-06-09 07:49:45 UTC
Attachment 162907 [details] pushed as b435319 - Use bash explicitely in the pre-commit hook.