projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4df29b
)
Make mkrelease.sh clean up the temporary $SOURCE_DIR when finished.
author
Zac Medico
<zmedico@gentoo.org>
Sun, 29 Aug 2010 18:11:26 +0000
(11:11 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 29 Aug 2010 18:11:26 +0000
(11:11 -0700)
mkrelease.sh
patch
|
blob
|
history
diff --git
a/mkrelease.sh
b/mkrelease.sh
index f9ecd46693f774a049d01e88e1dd4283d246a4dd..221d8a8b96bf206eb579a36abae0adde692485a8 100755
(executable)
--- 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^.."