aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoridl0r <idl0r@gentoo.org>2009-07-19 15:42:35 +0000
committeridl0r <idl0r@gentoo.org>2009-07-19 15:42:35 +0000
commitc22d2fd0e806271eaa9e68ffdf3f8f8af3fb3929 (patch)
tree61cd1e85e03f4ac3ff577599ade1daa14d497e85
parentUpdated Changelog. Cleanup README, TODO. (diff)
downloadgentoolkit-c22d2fd0e806271eaa9e68ffdf3f8f8af3fb3929.tar.gz
gentoolkit-c22d2fd0e806271eaa9e68ffdf3f8f8af3fb3929.tar.bz2
gentoolkit-c22d2fd0e806271eaa9e68ffdf3f8f8af3fb3929.zip
Use svn cp instead of cp if vcs == svn, thanks to Justin Lecher (jlec) <jlec@j-schmitz.net>.
svn path=/trunk/gentoolkit-dev/; revision=666
-rwxr-xr-xsrc/ebump/ebump7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ebump/ebump b/src/ebump/ebump
index d3d2f10..b877318 100755
--- a/src/ebump/ebump
+++ b/src/ebump/ebump
@@ -165,7 +165,12 @@ process_ebuild() {
einfo "Bumped ${PF}.ebuild to ${newPF}.ebuild"
- cp ${PF}.ebuild ${newPF}.ebuild
+ if [[ "${vcs}" == "svn" ]];
+ then
+ svn cp ${PF}.ebuild ${newPF}.ebuild
+ else
+ cp ${PF}.ebuild ${newPF}.ebuild
+ fi
einfo "Reset keywords to ~arch"