diff --git a/extras/CMakeLists.txt b/extras/CMakeLists.txt index 4adec8ea..7f92368b 100644 --- a/extras/CMakeLists.txt +++ b/extras/CMakeLists.txt @@ -19,4 +19,4 @@ add_custom_target(fruit-${FRUIT_VERSION}.tar.gz ALL WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/.. COMMAND git archive -o ${CMAKE_CURRENT_BINARY_DIR}/built/fruit-${FRUIT_VERSION}.tar.gz --prefix=fruit-${FRUIT_VERSION}/ HEAD COMMAND md5sum ${CMAKE_CURRENT_BINARY_DIR}/built/fruit-${FRUIT_VERSION}.tar.gz | awk '{print $$1}' >${CMAKE_CURRENT_BINARY_DIR}/tarball-md5 - COMMAND sed "\"s/.*md5sums.*/md5sums=('\"`cat ${CMAKE_CURRENT_BINARY_DIR}/tarball-md5`\"')/\"" <${CMAKE_CURRENT_BINARY_DIR}/PKGBUILD-template >${CMAKE_CURRENT_BINARY_DIR}/built/PKGBUILD) + COMMAND sed "\"s/.*md5sums.*/md5sums=(`cat" "${CMAKE_CURRENT_BINARY_DIR}/tarball-md5`)/\"" <${CMAKE_CURRENT_BINARY_DIR}/PKGBUILD-template >${CMAKE_CURRENT_BINARY_DIR}/built/PKGBUILD)