diff options
author | Christian Starkjohann <cs+github@obdev.at> | 2012-01-09 16:04:23 +0100 |
---|---|---|
committer | Christian Starkjohann <cs+github@obdev.at> | 2012-01-09 16:04:23 +0100 |
commit | f54e328f55099a1178b143396c0f022a66bb84f7 (patch) | |
tree | 2172b176fb3104c245b3b6a495779a86a58ad512 | |
parent | bf494d3e02ea9d75537c88f657154061887a805b (diff) | |
download | v-usb-f54e328f55099a1178b143396c0f022a66bb84f7.tar.gz v-usb-f54e328f55099a1178b143396c0f022a66bb84f7.tar.bz2 v-usb-f54e328f55099a1178b143396c0f022a66bb84f7.zip |
Delete target directory, then create new empty dir for project
-rwxr-xr-x | mkdist.sh | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -94,6 +94,8 @@ fi echo "Creating distribution for $name version $version" pkgname="$name-$version" +rm -rf "/tmp/$pkgname" +rm -f "/tmp/$pkgname".* mkdir "/tmp/$pkgname" git archive --format tar "$branch" | tar -x -C "/tmp/$pkgname" cd "/tmp/$pkgname" |