diff --git a/staging/copy.sh b/staging/copy.sh index 49820ef98e6..1861afa0bf9 100755 --- a/staging/copy.sh +++ b/staging/copy.sh @@ -234,4 +234,5 @@ echo "move to the client repo" if [ "${DRY_RUN}" = false ]; then ls "${CLIENT_REPO}" | { grep -v '_tmp' || true; } | xargs rm -rf mv "${CLIENT_REPO_TEMP}"/* "${CLIENT_REPO}" + git checkout HEAD -- $(find "${CLIENT_REPO}" -name BUILD) fi