From d910f88a39d65ceb7c2dd3544c27fbaef4245dfc Mon Sep 17 00:00:00 2001 From: Whitney Armstrong <warmstrong@anl.gov> Date: Tue, 13 Apr 2021 14:46:47 -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 c8f7be41..39376e21 100755 --- a/util/build_detector.sh +++ b/util/build_detector.sh @@ -33,8 +33,9 @@ if [ ! -d ${JUGGLER_DETECTOR} ]; then else echo "Updating ${JUGGLER_DETECTOR}" pushd ${JUGGLER_DETECTOR} + git branch git fetch origin - git checkout -b ${JUGGLER_DETECTOR_VERSION} + git checkout ${JUGGLER_DETECTOR_VERSION} popd fi ## We also need an up-to-date copy of the accelerator. For now this is done -- GitLab