]> andersk Git - moira.git/blobdiff - gen/install_dirs
Reimplement events.gen as a Pro*C application.
[moira.git] / gen / install_dirs
index a5ce77edbb87bb33732011c32c665e693c50636c..72ee5894e4a985c0df917abea7b83b6e7af18119 100644 (file)
@@ -1,8 +1,8 @@
 #!/bin/csh -f
-# This script installs new directories on NFS servers. 
+# This script installs new directories on NFS servers.
 
 # The following exit codes are defined and MUST BE CONSISTENT with the
-# MR error codes the library uses:
+# error codes the library uses:
 set MR_PROTO = 47836477
 
 set path=(/etc /bin /usr/bin /usr/etc)
@@ -35,7 +35,7 @@ while (1)
         break;
       else
          mkdir $tmpdir
-         # At some point it may be wise to check the status here and 
+         # At some point it may be wise to check the status here and
          # return a soft failure, but the current protocol doesn't
          # support this
          break
@@ -44,12 +44,12 @@ while (1)
    if (! -d $tmpdir) continue
    chown $uid.$gid $tmpdir
 
-   # At some point, we may wish to add a more elegant way of handling 
-   # locker types.  The current arrangement allows for easy adding of 
+   # At some point, we may wish to add a more elegant way of handling
+   # locker types.  The current arrangement allows for easy adding of
    # default actions here.
    switch ($type)
       case HOMEDIR:
-         
+
          # ***** Remove this when /etc/encorce_quota becomes obsolete!
          # Give this filesystem a 1200K quota
          setquota $dev $uid 1200
@@ -59,7 +59,7 @@ while (1)
          (cd $tmpdir; tar xf $USERTAR)
          if ($status) set WARN
         chown $uid.$gid $tmpdir $tmpdir/.??* $tmpdir/*
-         breaksw      
+         breaksw
       case COURSE:
         /bin/chmod 775 $tmpdir
         breaksw
This page took 0.078379 seconds and 4 git commands to generate.