Permalink
Browse files

fix line ending problem and typo in cleanup

  • Loading branch information...
1 parent edc7363 commit 42bb1ce873ed2b8cb819cf8f6cab7e450fd7171b @neclimdul neclimdul committed May 13, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 drupal-git-cvsexportcommit
View
4 drupal-git-cvsexportcommit
@@ -21,8 +21,8 @@ fi
function clean_up() {
cvs -d/srv/cvs/drupal up -C $GITSRV/$MODULE_BASE/.cvsco/$MODULE/$BRANCH/ > /dev/null
- rm $GITSRV/$MODULE_BASE/.cvsco/$MODULE/$BRANCH/.msg $GITSRV/$MODULE_BASE/.cvsco/$MODULE/$BRANCH/.cvsexportcommit.diff
- find $GITSRV/$MODULE_BASE/.cvsc no/$MODULE/$BRANCH -name '.#*' -exec rm '{}' \;
+ rm $GITSRV/$MODULE_BASE/.cvsco/$MODULE/$BRANCH/.msg $GITSRV/$MODULE_BASE/.cvsco/$MODULE/$BRANCH/.cvsexportcommit.diff
+ find $GITSRV/$MODULE_BASE/.cvsco/$MODULE/$BRANCH -name '.#*' -exec rm '{}' \;
echo "** CVS commit failed. Cleaning up cvs directory... **"
exit 2
}

0 comments on commit 42bb1ce

Please sign in to comment.