]> andersk Git - moira.git/blobdiff - gen/warehouse.sh
Run a script to load the data.
[moira.git] / gen / warehouse.sh
index c5dea213ae61eb781d80529d2d432addd1dedfc4..34ac4d99c5270287e7934c3509923cd090240d30 100644 (file)
@@ -6,8 +6,14 @@ TAR_FILE=$DIR/moira.tar.Z
 
 PATH="/etc:/bin:/usr/bin:/usr/etc:/usr/athena/etc"
 
+if [ -d /var/athena ] && [ -w /var/athena ]; then
+    exec >/var/athena/moira_update.log 2>&1
+else 
+    exec >/tmp/moira_update.log 2>&1
+fi
+
 # 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_MISSINGFILE =   47836473
 set MR_TARERR =        47836476
 
This page took 0.030703 seconds and 4 git commands to generate.