summaryrefslogtreecommitdiff
path: root/localcvsupdateall
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2006-06-11 14:02:01 +0000
committerJonas Smedegaard <dr@jones.dk>2006-06-11 14:02:01 +0000
commit9afee29c52f56ea249f9292074d9356c43838268 (patch)
treef4adf64b52c0b0fcf6523c126634a3e79e92097c /localcvsupdateall
parentb859e56419c993cfdadc7936a4d72ae04aed46e1 (diff)
New helper script localcvsupdateall.
Diffstat (limited to 'localcvsupdateall')
-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