Bug 10552

Summary: make exporting variables with hyphens (-) -- illegal in bash 2.04
Product: [Retired] Red Hat Raw Hide Reporter: Michael Tokarev <mjt>
Component: glibcAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-05-22 14:52:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.