1
1
openmpi/contrib/hg/set-hg-share-perms.csh
Ralph Castain 7afaa0f0a1 Add missing syntax on find command
This commit was SVN r20198.
2009-01-05 14:38:34 +00:00

19 строки
318 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