Fixed bug 271322, thanks to Justin Lecher (jlec) <jlec@j-schmitz.net>.
authoridl0r <idl0r@gentoo.org>
Tue, 26 May 2009 19:22:42 +0000 (19:22 -0000)
committeridl0r <idl0r@gentoo.org>
Tue, 26 May 2009 19:22:42 +0000 (19:22 -0000)
svn path=/trunk/gentoolkit-dev/; revision=655

src/ebump/ebump

index 1ead212b080a160841cda9757f3e18045e052a88..d3d2f100a71cd27a8906651aecf2cb1a41d95eea 100755 (executable)
@@ -254,11 +254,15 @@ process_ebuild() {
     #
     # (Optional) Delete previous entry
     #
+    # Could we use 'rm' instead of remove for all vcs?
     if [ "${opt_delete_old}" == "y" ] ; then
                for x in ${delfiles} ; do
                        if [[ "${vcs}" == "cvs" ]];
                        then
                            ${vcs} remove -f ${x}
+                       elif [[ "${vcs}" == "git" ]];
+                       then
+                               ${vcs} rm ${x}
                        else
                                ${vcs} remove ${x}
                        fi