From 36d44b3869824cb1e8105eeaa2624e5b4d23b21c Mon Sep 17 00:00:00 2001
From: Wouter Deconinck <wdconinc@gmail.com>
Date: Fri, 10 Feb 2023 20:02:34 +0000
Subject: [PATCH] fix: install slurm/condor single/hepmc3 in short dir

---
 containers/jug/xl.Dockerfile | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/containers/jug/xl.Dockerfile b/containers/jug/xl.Dockerfile
index feda5f76e..657c22b03 100644
--- a/containers/jug/xl.Dockerfile
+++ b/containers/jug/xl.Dockerfile
@@ -97,20 +97,19 @@ ADD https://api.github.com/repos/eic/job_submission_slurm/commits/${CAMPAIGNS_SL
 RUN mkdir -p /opt/campaigns                                                     \
  && cd /opt/campaigns                                                           \
  && git clone -b ${CAMPAIGNS_SINGLE_VERSION} --depth 1                          \
-        https://github.com/eic/simulation_campaign_single.git                   \
+        https://github.com/eic/simulation_campaign_single.git single            \
  && mkdir -p /opt/campaigns                                                     \
  && cd /opt/campaigns                                                           \
  && git clone -b ${CAMPAIGNS_HEPMC3_VERSION} --depth 1                          \
-        https://github.com/eic/simulation_campaign_hepmc3.git                   \
+        https://github.com/eic/simulation_campaign_hepmc3.git hepmc3            \
  && mkdir -p /opt/campaigns                                                     \
  && cd /opt/campaigns                                                           \
  && git clone -b ${CAMPAIGNS_CONDOR_VERSION} --depth 1                          \
-        https://github.com/eic/job_submission_condor.git                        \
+        https://github.com/eic/job_submission_condor.git condor                 \
  && mkdir -p /opt/campaigns                                                     \
  && cd /opt/campaigns                                                           \
  && git clone -b ${CAMPAIGNS_SLURM_VERSION} --depth 1                           \
-        https://github.com/eic/job_submission_slurm.git
-
+        https://github.com/eic/job_submission_slurm.git slurm
 ## also install detector/ip geometries into opt
 ARG NIGHTLY=''
 ## cache bust when updated repositories
-- 
GitLab