#!/bin/sh -u # USER=abcd0001 [GO=teaching.idallen.com] $0 # Run this as root and set environment var USER to your CLS account # userid before running this script. Fetches and runs a marking script. # Optionally uses GO environment variable for alternate site: # GO=teaching.idallen.com (default if not set) # GO=teaching.idallen.org # GO=elearning.algonquincollege.com/coursemat/alleni/idallen # -Ian! D. Allen - idallen@idallen.ca - www.idallen.com PATH=/bin:/usr/bin ; export PATH LC_ALL=C ; export LC_ALL GO=${GO:-teaching.idallen.com} # Sleep a bit before running the script itself, so that fetch messages print # before the script starts producing output. # curl -s -S -A 'Mozilla/4.0' \ http://"$GO"/cst8177/14f/notes/data/assignment09fetch.sh \ | { sleep 2 ; /bin/sh -s "$@" ; }