1
1
openmpi/contrib/hg/set-hg-share-perms.csh
Jeff Squyres 5eed7a0bec Write a helpful script, find a monkey that breaks the assumptions in
the script.  :-)

This commit was SVN r20336.
2009-01-23 21:29:38 +00:00

19 строки
329 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 read/writable....
chmod -R g+rw .
echo Setting group "rwsx" perms on directories...
find . -type d -exec chmod g=rwsx {} \;
echo done
exit 0