From a417b59f1add13ca417220c81f56b27d3733c82b Mon Sep 17 00:00:00 2001 From: Thomas Orozco Date: Sun, 5 Apr 2015 18:02:52 +0200 Subject: [PATCH] Ensure ${} isn't eaten by CMake --- CMakeLists.txt | 2 ++ README.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 960f613..652a4d6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,11 +17,13 @@ set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-Bsymbolic-functions configure_file ( "${PROJECT_SOURCE_DIR}/src/tiniConfig.h.in" "${PROJECT_BINARY_DIR}/tiniConfig.h" + @ONLY ) configure_file ( "${PROJECT_SOURCE_DIR}/README.md.in" "${PROJECT_SOURCE_DIR}/README.md" + @ONLY ) include_directories ("${PROJECT_BINARY_DIR}") diff --git a/README.md b/README.md index 1f83e18..af7a8a6 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ to manually invoke Tini: # Add Tini ENV TINI_VERSION v0.3.4 - ADD https://github.com/krallin/tini/releases/download//tini /tini + ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini RUN chmod +x /tini ENTRYPOINT ["/tini", "--"]