[llvm] r253936 - NFC. Fixing my consistently incorrect spelling.

Chris Bieneman via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 23 15:34:09 PST 2015


Author: cbieneman
Date: Mon Nov 23 17:34:09 2015
New Revision: 253936

URL: http://llvm.org/viewvc/llvm-project?rev=253936&view=rev
Log:
NFC. Fixing my consistently incorrect spelling.

Modified:
    llvm/trunk/cmake/modules/LLVMExternalProjectUtils.cmake

Modified: llvm/trunk/cmake/modules/LLVMExternalProjectUtils.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/LLVMExternalProjectUtils.cmake?rev=253936&r1=253935&r2=253936&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/LLVMExternalProjectUtils.cmake (original)
+++ llvm/trunk/cmake/modules/LLVMExternalProjectUtils.cmake Mon Nov 23 17:34:09 2015
@@ -91,11 +91,11 @@ function(llvm_ExternalProject_Add name s
   # Find all variables that start with COMPILER_RT and populate a variable with
   # them.
   get_cmake_property(variableNames VARIABLES)
-  foreach(varaibleName ${variableNames})
-    if(varaibleName MATCHES "^${nameCanon}")
-      string(REPLACE ";" "\;" value "${${varaibleName}}")
+  foreach(variableName ${variableNames})
+    if(variableName MATCHES "^${nameCanon}")
+      string(REPLACE ";" "\;" value "${${variableName}}")
       list(APPEND PASSTHROUGH_VARIABLES
-        -D${varaibleName}=${${value}})
+        -D${variableName}=${${value}})
     endif()
   endforeach()
 




More information about the llvm-commits mailing list