1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-15 20:46:37 +08:00

bootstrap: implement cmake_toupper() using tr

This commit is contained in:
Rolf Eike Beer
2017-06-07 19:17:42 +02:00
parent e61979a71c
commit 380bd70cc2

View File

@@ -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.