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 161782 - please use standard shell syntax
please use standard shell syntax
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Installation
git master
Other OSF/1
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
: 161822 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-12-20 13:52 UTC by Matthias Drochner
Modified: 2005-01-13 22:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
replaces the bash-specific ${a/b/c} substitutions (715 bytes, patch)
2004-12-22 12:24 UTC, Matthias Drochner
none Details | Review

Description Matthias Drochner 2004-12-20 13:52:10 UTC
"make install" fails on systems where the shell invoked by "make"
is not a "bash".
This is due to non-portable variable substitutions in
templates/autoformat/Makefile -- "${a/b/c}" is a bashism.
These substitutions can be easily replaced by standard compliant ones:
$${f/.*autoformat.$$cat./} -> $${f#$(srcdir)/autoformat.$$cat.}
$${f/.xml.in/.xml} -> $${f%.in}
Comment 1 Morten Welinder 2004-12-20 22:07:57 UTC
*** Bug 161822 has been marked as a duplicate of this bug. ***
Comment 2 Morten Welinder 2004-12-21 18:31:28 UTC
Could you come up with a patch that works for you?
Comment 3 Matthias Drochner 2004-12-22 12:24:04 UTC
Created attachment 35116 [details] [review]
replaces the bash-specific ${a/b/c} substitutions

This patch works for me as end-user, ie without running autoconf tools.
A patch to Makefile.am should be similar.
Comment 4 Jody Goldberg 2005-01-13 22:23:28 UTC
Applied the patch to Makefile.am