Browse Source

Merge topic 'bootstrap-solaris-tr' into release-3.17

9febdd8205 bootstrap: Use 'tr' more portably

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

+ 1 - 1
bootstrap

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