1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-01 12:26:16 +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:
Xiangfu Liu 2010-08-03 13:55:37 +08:00
parent 1b9628a922
commit e9cd9a32f1

View File

@ -10,7 +10,7 @@ set -e
: ${BRANCH=remotes/origin/master} : ${BRANCH=remotes/origin/master}
mkdir debian-orig-source 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 init -q debian-orig-source
GIT_DIR=$(pwd)/debian-orig-source/.git GIT_DIR=$(pwd)/debian-orig-source/.git