Remove old tarball as well when building

This commit is contained in:
Ximin Luo 2018-06-09 01:48:36 -07:00
parent f3f09de63d
commit 4c482b2306

View File

@ -11,7 +11,7 @@ if [ ! -f "$PKGDIR/debian/copyright" ]; then
echo "FIXME fill me in using ./copyright.debcargo.hint as a guide" > "$PKGDIR/debian/copyright"
fi
rm -rf "$BUILDDIR"
rm -rf "$BUILDDIR" "$(dirname "$BUILDDIR")/rust-$PKG-$VER_$VER"*.orig.tar.*
$DEBCARGO package --config "$PKGCFG" --directory "$BUILDDIR" "$PKG" "$VER"
if ! git diff --quiet -- "$PKGDIR_REL"; then