Skip to content

Commit dd8a04a

Browse files
authored
Merge pull request #15 from unicode-org/fix-spacey-names
bug: convert ' ' to '_' in NAME
2 parents f08aa42 + c2c59c2 commit dd8a04a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/bin/makedist.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ if [ -f /etc/os-release ];
88
then
99
. /etc/os-release
1010
fi
11+
NAME=$(echo "${NAME}" | tr " " "_")
1112
FN=icu-r${REV-$(svnversion /src/icu/ | tr -d ' ')}-$(bash /src/icu/icu4c/source/config.guess)-${NAME-${WHAT}}-${VERSION_ID-UNKNOWN}
1213
if [ ! -f config.status ];
1314
then

src/bin/makesdoc.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ if [ -f /etc/os-release ];
1515
then
1616
. /etc/os-release
1717
fi
18+
NAME=$(echo "${NAME}" | tr " " "_")
1819
FN=icu-r${REV-$(svnversion /src/icu/ | tr -d ' ')}-$(bash /src/icu/icu4c/source/config.guess)-${NAME-${WHAT}}-${VERSION_ID-UNKNOWN}
1920

2021
rm -rf dist /dist/${FN}-src.d || true

0 commit comments

Comments
 (0)