From: Chris Bieneman Date: Thu, 16 Apr 2015 18:36:32 +0000 (+0000) Subject: Properly escaping the quotes so that bash doesn't do stupid things with the wildcards. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=commitdiff_plain;h=e60729f73f4c6b0d2c709863dca6787f783e551c;hp=e59dcc804fa525212b27d4790ac3d001bac71c04 Properly escaping the quotes so that bash doesn't do stupid things with the wildcards. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235127 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/llvm-shlib/CMakeLists.txt b/tools/llvm-shlib/CMakeLists.txt index 57044ad86a2..0c85285ecc2 100644 --- a/tools/llvm-shlib/CMakeLists.txt +++ b/tools/llvm-shlib/CMakeLists.txt @@ -75,7 +75,7 @@ if(NOT DEFINED LLVM_DYLIB_EXPORTED_SYMBOL_FILE) 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...")