[llvm-commits] CVS: CVSROOT/update-www.sh

Misha Brukman brukman at cs.uiuc.edu
Mon Oct 20 15:55:01 PDT 2003


Changes in directory CVSROOT:

update-www.sh updated: 1.2 -> 1.3

---
Log message:

Using John's suggestion to employ the magic of find to fix the problem with
having too many arguments to `chmod'. This will probably help avoid problems
with trying to chmod files not owned by user making the checkin.


---
Diffs of the changes:  (+2 -2)

Index: CVSROOT/update-www.sh
diff -u CVSROOT/update-www.sh:1.2 CVSROOT/update-www.sh:1.3
--- CVSROOT/update-www.sh:1.2	Mon Oct 20 15:24:08 2003
+++ CVSROOT/update-www.sh	Mon Oct 20 15:54:41 2003
@@ -9,5 +9,5 @@
 # Update any committed files
 cvs -Q update -Pd
 
-# Give access to any of the files we just checked out to the group
-chmod -R --quiet g+w *
+# Give access to any of the files we just checked in to the group
+find . -user $USER -exec chmod g+w {} \;





More information about the llvm-commits mailing list