]> ruderich.org/simon Gitweb - config/dotfiles.git/blobdiff - setup.sh
cvsrc: Strip comments and newlines.
[config/dotfiles.git] / setup.sh
index 588e81acb408640bd51074d94c1be204825229a9..181766a860e235400a762c9dd27970f07b2610a8 100755 (executable)
--- a/setup.sh
+++ b/setup.sh
@@ -64,5 +64,8 @@ if installed hg; then
 fi
 
 if installed cvs; then
+    # CVS doesn't support any comments nor empty lines in cvsrc.
+    grep -E -v '^#' cvsrc.in | grep -E -v '^$' >cvsrc
+
     link cvsrc ~/.cvsrc
 fi