summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2016-02-12 13:02:21 +0100
committerAnders Roxell <anders.roxell@linaro.org>2016-02-12 13:06:04 +0100
commit3297e0e4bd14289da9f3711fdf981d43b7f98743 (patch)
tree2f546490fd68ba036ca471571e203e6c9f640759
parent7f5bb6eb958e3a7c603a88b36984cae0e3195f8b (diff)
Revert "pre-build-do-cleanup: cleanup git repositories"
This reverts commit 7f5bb6eb958e3a7c603a88b36984cae0e3195f8b. Reverting commit because it does only sync and not cleanup unstaged files, so it don't solve anything. Change-Id: I0cb5ea27170cfab4d2e25df07bd182ddff39cdd6 Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
-rwxr-xr-xpre-build-do-cleanup.sh5
1 files changed, 0 insertions, 5 deletions
diff --git a/pre-build-do-cleanup.sh b/pre-build-do-cleanup.sh
index 3c0db1b..68861f8 100755
--- a/pre-build-do-cleanup.sh
+++ b/pre-build-do-cleanup.sh
@@ -29,9 +29,4 @@ if [ -n "${WORKSPACE}" ]; then
${base_dir}/workspace/downloads \
${base_dir}/workspace/sstate-cache || true
df -h
-
- # Discard changes in working directory
- if [[ -d ${WORKSPACE}/.repo ]]; then
- ( cd ${WORKSPACE} && repo sync --force-sync )
- fi
fi