From 0e3aacc4e8fdd8df2031ee1b7cc17c4634b3dd8a Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Mon, 19 Apr 2010 20:45:51 -0700 Subject: [PATCH] Remove newly imported upstream directory in import-upstream import-upstream was leaving behind a directory from unpacking the upstream source, which under some circumstances was getting imported into the upstream branch (if, for instance, the script was run twice in succession). Make sure it's gone with rm -rf. --- debian/import-upstream | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/import-upstream b/debian/import-upstream index 62a361a65..c3a8aad09 100755 --- a/debian/import-upstream +++ b/debian/import-upstream @@ -44,3 +44,4 @@ commit=$(echo "Imported upstream tag $upstream via tarball" | \ git branch -f upstream-1.5 "$commit" git tag "$tag" "$commit" git rm -q -r -f "$dir" +rm -rf "$dir" -- 2.39.5