4 DIR=/warehouse/transfers/moirausr
5 TAR_FILE=$DIR/moira.tar.Z
7 PATH="/etc:/bin:/usr/bin:/usr/etc:/usr/athena/etc"
9 # The following exit codes are defined and MUST BE CONSISTENT with the
10 # MR error codes the library uses:
11 set MR_MISSINGFILE = 47836473
12 set MR_TARERR = 47836476
16 echo extracting $TAR_FILE
18 if [ ! -f $TAR_FILE ]; then
22 if zcat < $TAR_FILE | tar xvf -; then
23 echo Extract successful
28 chmod 644 username_id.*