Skip to content
Snippets Groups Projects
Commit ca27bcfd authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch 'ATLINFR-3506-support-ancient-git' into 'master'

ATLINFR-3506: Support ancient version of git

See merge request atlas/athena!32549
parents 0785e93a 62bdcc5e
No related branches found
No related tags found
No related merge requests found
...@@ -111,9 +111,9 @@ fi ...@@ -111,9 +111,9 @@ fi
# check whether the source directory points to the right repository # check whether the source directory points to the right repository
RECLONE=false RECLONE=false
pushd ${SOURCEDIR} pushd ${SOURCEDIR}
SOURCEURL=$(git remote get-url origin) SOURCEURL=$(git ls-remote --get-url origin)
if [ "${SOURCEURL}" != "${EXTERNALSURL}" ] ; then if [ "${SOURCEURL}" != "${EXTERNALSURL}" ] ; then
echo "${SOURCEURL} wasn't cloned from ${EXTERNALSURL}, deleting" echo "checkout_externals: Warning! ${SOURCEURL} wasn't cloned from ${EXTERNALSURL}, deleting"
RECLONE=true RECLONE=true
fi fi
popd popd
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment