summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlocalcvsupdateall10
1 files changed, 10 insertions, 0 deletions
diff --git a/localcvsupdateall b/localcvsupdateall
new file mode 100755
index 0000000..48a5523
--- /dev/null
+++ b/localcvsupdateall
@@ -0,0 +1,10 @@
+#!/bin/sh
+#
+# /usr/local/bin/localcvsupdate
+# Copyright 2006 Jonas Smedegaard <dr@jones.dk>
+#
+# $Id: localcvsupdateall,v 1.1 2006-06-11 14:02:01 jonas Exp $
+#
+# Update all CVS directories
+
+for dir in $(find /etc -maxdepth 1 -type d -name local-*) /usr/local/bin /usr/local/sbin; do echo "CVS update of $dir..."; (cd $dir && cvs update -dP); done