[llvm] r235127 - Properly escaping the quotes so that bash doesn't do stupid things with the wildcards.

Chris Bieneman beanz at apple.com
Thu Apr 16 11:36:32 PDT 2015


Author: cbieneman
Date: Thu Apr 16 13:36:32 2015
New Revision: 235127

URL: http://llvm.org/viewvc/llvm-project?rev=235127&view=rev
Log:
Properly escaping the quotes so that bash doesn't do stupid things with the wildcards.

Modified:
    llvm/trunk/tools/llvm-shlib/CMakeLists.txt

Modified: llvm/trunk/tools/llvm-shlib/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-shlib/CMakeLists.txt?rev=235127&r1=235126&r2=235127&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-shlib/CMakeLists.txt (original)
+++ llvm/trunk/tools/llvm-shlib/CMakeLists.txt Thu Apr 16 13:36:32 2015
@@ -75,7 +75,7 @@ if(NOT DEFINED LLVM_DYLIB_EXPORTED_SYMBO
 
   if (LLVM_DYLIB_EXPORT_ALL)
     add_custom_command(OUTPUT ${LLVM_EXPORTED_SYMBOL_FILE}
-      COMMAND echo "LLVM*" > ${LLVM_EXPORTED_SYMBOL_FILE} && echo "_ZN4llvm*" >> ${LLVM_EXPORTED_SYMBOL_FILE}
+      COMMAND echo \"LLVM*\" > ${LLVM_EXPORTED_SYMBOL_FILE} && echo \"_ZN4llvm*\" >> ${LLVM_EXPORTED_SYMBOL_FILE}
       WORKING_DIRECTORY ${LIB_DIR}
       DEPENDS ${LLVM_DYLIB_REQUIRED_EXPORTS}
       COMMENT "Generating combined export list...")





More information about the llvm-commits mailing list