Bug 10552 - make exporting variables with hyphens (-) -- illegal in bash 2.04
Summary: make exporting variables with hyphens (-) -- illegal in bash 2.04
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: glibc
Version: 1.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-04-03 17:42 UTC by Michael Tokarev
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-05-22 14:52:56 UTC
Embargoed:


Attachments (Terms of Use)

Description Michael Tokarev 2000-04-03 17:42:02 UTC
bash 2.04 is the default shell in rawhide now (wow! good!).
It prohibits usage of hyphens (-) in env. variable names.
But there are many, many of such a variables exported by make
from Makefile(s) in glibc.  Build log from glibc-2.1.3:

...
/bin/sh: invalid character 45 in exportstr for full-config-sysdirs
.././scripts/mkinstalldirs: invalid character 45 in exportstr for
full-config-sysdirs
/bin/sh: invalid character 45 in exportstr for full-config-sysdirs
.././scripts/mkinstalldirs: invalid character 45 in exportstr for
full-config-sysdirs
...

Comment 1 Cristian Gafton 2000-05-22 14:52:59 UTC
assign to jakub

Comment 2 Jakub Jelinek 2000-09-04 15:54:34 UTC
I've fixed this on 2000-04-26 in both glibc 2.1.9x and glibc 2.1.3.


Note You need to log in before you can comment on or make changes to this bug.