Commit d9228e67 authored by Diego Pasqualin's avatar Diego Pasqualin
Browse files Don't revert control file when the build fails

This might not be what the user wants.
Signed-off-by: default avatarDiego Pasqualin <>
parent 047d329f
...@@ -55,10 +55,12 @@ function createPackage() { ...@@ -55,10 +55,12 @@ function createPackage() {
fakeroot dpkg -b $REPOROOT/$pkg/package/ $PACKAGESDEST/ fakeroot dpkg -b $REPOROOT/$pkg/package/ $PACKAGESDEST/
ret=$? ret=$?
if test $ret -ne 0; then # FIXME This might not be what the user wants. He might lose some other
git checkout $controlFile # changes on the control file, besides the Version field
return $ret # if test $ret -ne 0; then
fi # git checkout $controlFile
# return $ret
# fi
return 0 return 0
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment