#! /bin/sh set -e sourcedate () { # If user already set it, don't overide it egrep '^[^;]*set.*cra-lisp-implementation-version' \ $1/env-simple-raw.lisp > /dev/null && return if [ -f CVS/Tag ] ; then tag=" `sed 's/^T//' < CVS/Tag`" else tag=" HEAD" fi echo -n 'CMUCL files of ' echo -n `ls -ltr ../*/*.lisp ../*/*/*.lisp ../*/*.c | tail -1 \ | awk '{print $(NF-3) " " $(NF-2) " " $(NF-1)}'` echo -n ' '`date +"%Y %z"`$tag echo -n ', built '`date` echo } sourcedate ../../crabuild/