From f6e61c233491eb051232189723dba6cab88ccf15 Mon Sep 17 00:00:00 2001 From: Whitney Armstrong <warmstrong@anl.gov> Date: Tue, 13 Apr 2021 14:34:41 -0500 Subject: [PATCH] modified: util/build_detector.sh --- util/build_detector.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/build_detector.sh b/util/build_detector.sh index bccf765b..c8f7be41 100755 --- a/util/build_detector.sh +++ b/util/build_detector.sh @@ -33,7 +33,8 @@ if [ ! -d ${JUGGLER_DETECTOR} ]; then else echo "Updating ${JUGGLER_DETECTOR}" pushd ${JUGGLER_DETECTOR} - git pull --ff-only + git fetch origin + git checkout -b ${JUGGLER_DETECTOR_VERSION} popd fi ## We also need an up-to-date copy of the accelerator. For now this is done -- GitLab