diff options
author | Jonas Smedegaard <dr@jones.dk> | 2006-06-24 10:29:38 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2006-06-24 10:29:38 +0000 |
commit | c02dcd781774abf52c983868fd4d0fe5f77fda8a (patch) | |
tree | 7733360f46b19ec7a0dc3a523dfa24d455e6cc85 | |
parent | c658df20f15b36166ecda447e945fecb8b783e71 (diff) |
Avoid shell expansion of find wildcard.
-rwxr-xr-x | localcvsupdateall | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/localcvsupdateall b/localcvsupdateall index 48a5523..22359d5 100755 --- a/localcvsupdateall +++ b/localcvsupdateall @@ -3,8 +3,8 @@ # /usr/local/bin/localcvsupdate # Copyright 2006 Jonas Smedegaard <dr@jones.dk> # -# $Id: localcvsupdateall,v 1.1 2006-06-11 14:02:01 jonas Exp $ +# $Id: localcvsupdateall,v 1.2 2006-06-24 10:29:38 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 +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 |