From 2166bdfeacfefb0cbf7f8cebed1438c27c1d8fac Mon Sep 17 00:00:00 2001 From: Brad King Date: Sat, 31 Dec 2005 13:10:04 -0500 Subject: ENH: Simplified ln command to use relative path in symlink. --- Tests/TarTest/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v0.12