mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-22 08:42:48 +02:00
cleanup tmp folder when send INT TERM signal to get-orig-source.sh
Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
This commit is contained in:
parent
1b9628a922
commit
e9cd9a32f1
2
debian/get-orig-source.sh
vendored
2
debian/get-orig-source.sh
vendored
@ -10,7 +10,7 @@ set -e
|
||||
: ${BRANCH=remotes/origin/master}
|
||||
|
||||
mkdir debian-orig-source
|
||||
trap 'rm -fr debian-orig-source || exit 1' EXIT
|
||||
trap 'rm -fr debian-orig-source || exit 1' EXIT INT TERM
|
||||
|
||||
git init -q debian-orig-source
|
||||
GIT_DIR=$(pwd)/debian-orig-source/.git
|
||||
|
Loading…
Reference in New Issue
Block a user