1
1
openmpi/contrib/hg/set-hg-share-perms.csh
Jeff Squyres 3950796fa8 Add scripty-foo to set perms right on hg trees to share (at least on
milliways / www.open-mpi.org).

This commit was SVN r20095.
2008-12-09 20:26:29 +00:00

19 строки
315 B
Tcsh
Исполняемый файл

#!/bin/csh -f
if (! -d .hg) then
echo "Not in top-level HG repository dir"
exit 1
endif
echo Setting group to openmpi...
chgrp -R openmpi .
echo Setting all files to be group writable....
chmod -R g+w .
echo Setting group "s" perms on directories...
find . -type d -exec chmod g+ws {}
echo done
exit 0