From: Zac Medico Date: Sun, 29 Aug 2010 18:11:26 +0000 (-0700) Subject: Make mkrelease.sh clean up the temporary $SOURCE_DIR when finished. X-Git-Tag: v2.2_rc73~54 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=434d6fcc99edf04af746d4f0e7173b6ea1fcc0cc;p=portage.git Make mkrelease.sh clean up the temporary $SOURCE_DIR when finished. --- diff --git a/mkrelease.sh b/mkrelease.sh index f9ecd4669..221d8a8b9 100755 --- a/mkrelease.sh +++ b/mkrelease.sh @@ -69,6 +69,8 @@ cp -a "${SOURCE_DIR}/"{bin,cnf,doc,man,pym} "${RELEASE_DIR}/" || die "directory cp "${SOURCE_DIR}/"{DEVELOPING,LICENSE,NEWS,RELEASE-NOTES,TEST-NOTES} \ "${RELEASE_DIR}/" || die "file copy failed" +rm -rf "$SOURCE_DIR" || die "directory cleanup failed" + echo ">>> Creating Changelog" git_log_opts="" [ -n "$CHANGELOG_REVISION" ] && git_log_opts+=" $CHANGELOG_REVISION^.."