Commit d9228e67 authored by Diego Pasqualin's avatar Diego Pasqualin
Browse files

build_package.sh: Don't revert control file when the build fails



This might not be what the user wants.
Signed-off-by: default avatarDiego Pasqualin <dpasqualin@c3sl.ufpr.br>
parent 047d329f
......@@ -55,10 +55,12 @@ function createPackage() {
fakeroot dpkg -b $REPOROOT/$pkg/package/ $PACKAGESDEST/
ret=$?
if test $ret -ne 0; then
git checkout $controlFile
return $ret
fi
# FIXME This might not be what the user wants. He might lose some other
# changes on the control file, besides the Version field
# if test $ret -ne 0; then
# git checkout $controlFile
# return $ret
# fi
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