Browse Source

bootstrap: implement cmake_toupper() using tr

Rolf Eike Beer 8 years ago
parent
commit
380bd70cc2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bootstrap

+ 1 - 1
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.