]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Remove newly imported upstream directory in import-upstream
authorRuss Allbery <rra@debian.org>
Tue, 20 Apr 2010 03:45:51 +0000 (20:45 -0700)
committerRuss Allbery <rra@debian.org>
Tue, 20 Apr 2010 03:45:51 +0000 (20:45 -0700)
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

index 62a361a6581060910f98d7046da8bb512f6b2775..c3a8aad091b6e4e82e5179709bffeb49833aac63 100755 (executable)
@@ -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"