summaryrefslogtreecommitdiffstats
path: root/Tests/TarTest
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-12-31 18:10:04 (GMT)
committerBrad King <brad.king@kitware.com>2005-12-31 18:10:04 (GMT)
commit2166bdfeacfefb0cbf7f8cebed1438c27c1d8fac (patch)
tree4629cbb6eef8ee66ad1ddf0dfd63f524b667ebf6 /Tests/TarTest
parent8489a94101acc70cf58a12f4478bd49233601839 (diff)
downloadCMake-2166bdfeacfefb0cbf7f8cebed1438c27c1d8fac.zip
CMake-2166bdfeacfefb0cbf7f8cebed1438c27c1d8fac.tar.gz
CMake-2166bdfeacfefb0cbf7f8cebed1438c27c1d8fac.tar.bz2
ENH: Simplified ln command to use relative path in symlink.
Diffstat (limited to 'Tests/TarTest')
-rw-r--r--Tests/TarTest/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/TarTest/CMakeLists.txt b/Tests/TarTest/CMakeLists.txt
index 2a01428..b48bd62 100644
--- a/Tests/TarTest/CMakeLists.txt
+++ b/Tests/TarTest/CMakeLists.txt
@@ -23,7 +23,7 @@ COPY("CMakeLists.txt" "d-4/f1.txt")
COPY("CMakeLists.txt" "My Special Directory/f1.txt")
IF(UNIX)
- EXEC_PROGRAM("ln" ARGS "-s \"${CMAKE_CURRENT_BINARY_DIR}/tar_dir/d1/f1.txt\" \"${CMAKE_CURRENT_BINARY_DIR}/tar_dir/d1/f2.txt\"")
+ EXEC_PROGRAM("ln" ARGS "-sf f1.txt \"${CMAKE_CURRENT_BINARY_DIR}/tar_dir/d1/f2.txt\"")
SET(CHECK_FILES ${CHECK_FILES} "d1/f2.txt")
ENDIF(UNIX)