diff options
author | jingui.ren <jingui.ren@samsung.com> | 2019-04-02 15:57:13 +0800 |
---|---|---|
committer | jingui.ren <jingui.ren@samsung.com> | 2019-04-04 10:50:08 +0800 |
commit | b74c255a97cd08b899b34fb44937d45ab6592ace (patch) | |
tree | 96ee77d058e1d72df94b3bc10ea9242bf8552591 | |
parent | 7b538266c0d1db5e780b119b6e6811a59117618c (diff) | |
download | build-b74c255a97cd08b899b34fb44937d45ab6592ace.tar.gz build-b74c255a97cd08b899b34fb44937d45ab6592ace.tar.bz2 build-b74c255a97cd08b899b34fb44937d45ab6592ace.zip |
Fix bugs when exit at installing packagesnanjing-devel
Change-Id: I06683642001182ea45a3b29366be62d80b5a6038
-rwxr-xr-x | init_buildsystem | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/init_buildsystem b/init_buildsystem index 43ac57a..0a4c0fb 100755 --- 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} } |