From 69005c7e0295b1b6f39e7d3f3d9d2911a31e246c Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 7 Mar 2016 00:30:17 +0100 Subject: tarball: don't assume env(1) is in path --- cmake/opentrack-tarball.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/opentrack-tarball.cmake b/cmake/opentrack-tarball.cmake index f26052f3..1f292af7 100644 --- a/cmake/opentrack-tarball.cmake +++ b/cmake/opentrack-tarball.cmake @@ -20,7 +20,7 @@ add_custom_target(tarball-real) add_custom_target(tarball-real2) add_custom_command(TARGET tarball-real COMMAND cmake -P ${CMAKE_SOURCE_DIR}/cmake/tarball.cmake) -add_custom_command(TARGET tarball-real2 COMMAND /usr/bin/env sh +add_custom_command(TARGET tarball-real2 COMMAND sh "${CMAKE_SOURCE_DIR}/make-tar.sh" "${CMAKE_INSTALL_PREFIX}" "${filename}" "${CMAKE_BINARY_DIR}") add_custom_target(tarball DEPENDS tarball-real) -- cgit v1.2.3