diff --git a/dist/remote-builder/cloneNoLFS.sh b/dist/remote-builder/cloneNoLFS.sh index b8333b64..40da8278 100755 --- a/dist/remote-builder/cloneNoLFS.sh +++ b/dist/remote-builder/cloneNoLFS.sh @@ -10,8 +10,8 @@ cd $repoPathFull echo ' ' echo "Cloning the repository being built:" -git clone --filter=blob:none --no-checkout $cloneUrl -git checkout $githubSha +git clone --filter=blob:none --no-checkout $cloneUrl $repoPathFull +git --work-tree=$repoPathFull checkout $githubSha tree echo ' '