mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-16 14:08:35 +08:00
bootstrap: implement cmake_toupper() using tr
This commit is contained in:
@@ -41,7 +41,7 @@ cmake_install_dest_default()
|
|||||||
|
|
||||||
cmake_toupper()
|
cmake_toupper()
|
||||||
{
|
{
|
||||||
echo "$1" | sed 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'
|
echo "$1" | tr '[:lower:]' '[:upper:]'
|
||||||
}
|
}
|
||||||
|
|
||||||
# Detect system and directory information.
|
# Detect system and directory information.
|
||||||
|
Reference in New Issue
Block a user