Change for more portability.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@976 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -259,7 +259,7 @@ EOF
|
||||
# Arguments: $1 - the name of the symbol
|
||||
define_have_symbol() {
|
||||
local NAME VALUE
|
||||
NAME=`$TR a-z A-Z << EOF
|
||||
NAME=`$TR "[:lower:]" "[:upper:]" << EOF
|
||||
$1
|
||||
EOF
|
||||
`
|
||||
@@ -296,7 +296,7 @@ EOF
|
||||
# Arguments: $1 - the name of the symbol
|
||||
define_have_header() {
|
||||
local NAME VALUE
|
||||
NAME=`$TR /.a-z __A-Z << EOF
|
||||
NAME=`$TR /.[:lower:] __[:upper:] << EOF
|
||||
$1
|
||||
EOF
|
||||
`
|
||||
|
||||
Reference in New Issue
Block a user