Simplify logic.

This commit is contained in:
Michał Górny 2010-08-25 23:59:17 +02:00
parent b381a62c21
commit 16a8ff2d6d

View File

@ -370,7 +370,7 @@ main() {
# With DVCS repos, we do not do ChangeLogs by default...
# ...at least unless they're already there.
if [ ${SC_VCS} != git -a ${SC_VCS} != hg -o -f ChangeLog ]; then
if [ ${SC_VCS#git-} = svn -o -f ChangeLog ]; then
sayv 'Cleaning up the ChangeLog...'
vcs_reset ChangeLog