summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorRolf Eike Beer <eike@sf-mail.de>2017-06-07 17:17:42 (GMT)
committerRolf Eike Beer <eike@sf-mail.de>2017-06-07 17:52:40 (GMT)
commit380bd70cc2cea6b77e24c2424374365ac30fa046 (patch)
tree55d363984bc3802b3cb4f5edfdaef68a8976cf8d /bootstrap
parente61979a71cb7a32bdaa19aca9dbb3c8dfcb2e495 (diff)
downloadCMake-380bd70cc2cea6b77e24c2424374365ac30fa046.zip
CMake-380bd70cc2cea6b77e24c2424374365ac30fa046.tar.gz
CMake-380bd70cc2cea6b77e24c2424374365ac30fa046.tar.bz2
bootstrap: implement cmake_toupper() using tr
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap b/bootstrap
index 46f81c5..280655e 100755
--- a/bootstrap
+++ b/bootstrap
@@ -41,7 +41,7 @@ cmake_install_dest_default()
cmake_toupper()
{
- echo "$1" | sed 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'
+ echo "$1" | tr '[:lower:]' '[:upper:]'
}
# Detect system and directory information.