package.sh 360 B

123456789101112131415161718
  1. #! /bin/sh
  2. # package --- Recompile just one package of REDUCE
  3. # Author: Arthur C Norman
  4. # This script may be passed a directory as arg1, but if not it expects
  5. # to find my source files in "../cslbase"
  6. if test -n "$1"
  7. then srcdir="$1"
  8. else srcdir=../cslbase
  9. fi
  10. ./r38 -Dno_init_file -Dtarget=$1 $srcdir/../util/package.red -D@srcdir=$srcdir -- log/$1.log