delete staging directory before bringing down bats to avoid conflicts

This commit is contained in:
Bryan 2015-12-04 17:24:30 -08:00
parent 38b04a7870
commit 216adc198e

View file

@ -74,6 +74,7 @@ create_debian_package(){
test_debian_package(){
header "Testing debian package"
rm -rf $TEST_STAGE_DIR
git clone https://github.com/sstephenson/bats.git $TEST_STAGE_DIR
$TEST_STAGE_DIR/bin/bats $PACKAGE_OUTPUT_DIR/test_package.bats