Solving problem with symbolic links
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 16 Oct 2008 16:42:44 +0000 (16:42 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 16 Oct 2008 16:42:44 +0000 (16:42 +0000)
CMakeLists.txt

index 85189bf..942e2c7 100644 (file)
@@ -70,7 +70,8 @@ SET(ALIROOT_LIBRARY_PROPERTIES ${ALIROOT_LIBRARY_PROPERTIES}
 )
 
 # Set version variables
-Execute_process(COMMAND svn info $ENV{ALICE_ROOT} 
+Execute_process(COMMAND readlink -f ${ALICE_ROOT} 
+  COMMAND xargs svn info
   OUTPUT_VARIABLE _svn_out)
 
 String(REGEX REPLACE "^.*Revision: ([^\n]*).*$" "\\1"