summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-03-07 00:30:17 +0100
committerStanislaw Halik <sthalik@misaki.pl>2016-03-07 00:35:39 +0100
commit69005c7e0295b1b6f39e7d3f3d9d2911a31e246c (patch)
tree4a70be51cefac6421fa1db9c91bd872c9512b180 /cmake
parent3b6f242c516926f30c213e41d66c8cf5c60b9aab (diff)
tarball: don't assume env(1) is in pathopentrack-2.3-rc21p9
Diffstat (limited to 'cmake')
-rw-r--r--cmake/opentrack-tarball.cmake2
1 files changed, 1 insertions, 1 deletions
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)