Browse Source

Merge topic 'bootstrap-solaris-tr'

9febdd8205 bootstrap: Use 'tr' more portably

Acked-by: Kitware Robot <[email protected]>
Merge-request: !4703
Brad King 5 years ago
parent
commit
54d9ffc6da
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bootstrap

+ 1 - 1
bootstrap

@@ -46,7 +46,7 @@ cmake_install_dest_default()
 
 cmake_toupper()
 {
-    echo "$1" | tr '[:lower:]' '[:upper:]'
+    echo "$1" | tr '[a-z]' '[A-Z]'
 }
 
 # Detect system and directory information.