summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/gaudi/use-xenv-master.diff
diff options
context:
space:
mode:
Diffstat (limited to 'var/spack/repos/builtin/packages/gaudi/use-xenv-master.diff')
-rw-r--r--var/spack/repos/builtin/packages/gaudi/use-xenv-master.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/gaudi/use-xenv-master.diff b/var/spack/repos/builtin/packages/gaudi/use-xenv-master.diff
new file mode 100644
index 0000000000..fd19561860
--- /dev/null
+++ b/var/spack/repos/builtin/packages/gaudi/use-xenv-master.diff
@@ -0,0 +1,13 @@
+diff --git a/cmake/GaudiProjectConfig.cmake b/cmake/GaudiProjectConfig.cmake
+index ab1a24e1d..dc938da79 100644
+--- a/cmake/GaudiProjectConfig.cmake
++++ b/cmake/GaudiProjectConfig.cmake
+@@ -410,7 +410,7 @@ macro(gaudi_project project version)
+ # Avoid interference from user environment
+ unset(ENV{GIT_DIR})
+ unset(ENV{GIT_WORK_TREE})
+- execute_process(COMMAND git clone -b 0.0.1 https://gitlab.cern.ch/gaudi/xenv.git ${CMAKE_BINARY_DIR}/contrib/xenv)
++ execute_process(COMMAND git clone https://gitlab.cern.ch/gaudi/xenv.git ${CMAKE_BINARY_DIR}/contrib/xenv)
+ endif()
+ # I'd like to generate the script with executable permission, but I only
+ # found this workaround: https://stackoverflow.com/a/45515418