projects
/
tools
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b53826
)
Fix bugs when exit at installing packages
nanjing-devel
author
jingui.ren
<jingui.ren@samsung.com>
Tue, 2 Apr 2019 07:57:13 +0000
(15:57 +0800)
committer
jingui.ren
<jingui.ren@samsung.com>
Thu, 4 Apr 2019 02:50:08 +0000
(10:50 +0800)
Change-Id: I06683642001182ea45a3b29366be62d80b5a6038
init_buildsystem
patch
|
blob
|
history
diff --git
a/init_buildsystem
b/init_buildsystem
index 43ac57a1cf2ffffa815b50ed91801f968c80aa0c..0a4c0fb059dadfcd468fd99ceb087587022db77d 100755
(executable)
--- a/
init_buildsystem
+++ b/
init_buildsystem
@@
-162,6
+162,7
@@
cleanup_and_exit() {
umount -n "$BUILD_ROOT/proc" 2> /dev/null || true
umount -n "$BUILD_ROOT/dev/pts" 2> /dev/null || true
umount -n "$BUILD_ROOT/mnt" 2> /dev/null || true
+ rm -f $BUILD_IS_RUNNING 2> /dev/null || true
exit ${1:-0}
}