From: Ximin Luo Date: Sat, 9 Jun 2018 08:48:36 +0000 (-0700) Subject: Remove old tarball as well when building X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=4c482b2306459ff1116d5ed1723f299b304f8cfc;p=debcargo-conf.git Remove old tarball as well when building --- diff --git a/update.sh b/update.sh index e0fe38998..28c562927 100755 --- a/update.sh +++ b/update.sh @@ -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