1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-19 20:38:08 +01:00

Made Debian autobuild work again

This commit is contained in:
Martin Dietze
2010-08-19 11:40:27 +02:00
committed by Carlos R. Mafra
parent 3289b6c772
commit 6269d3a66f

View File

@@ -44,6 +44,8 @@ errorExit() {
doPull() { doPull() {
RC="1" RC="1"
LATEST="`$STATUSCMD`" LATEST="`$STATUSCMD`"
git reset --hard HEAD
git clean -f
$PULLCMD >>$BUILDLOG 2>&1 || errorExit "Error pulling from the repo" $PULLCMD >>$BUILDLOG 2>&1 || errorExit "Error pulling from the repo"
CURRENT="`$STATUSCMD`" CURRENT="`$STATUSCMD`"
if [ "$FORCE" = "1" -o "$LATEST" != "$CURRENT" ]; then if [ "$FORCE" = "1" -o "$LATEST" != "$CURRENT" ]; then