[illumos-Discuss] Possible redundant steps in How_To_Build_illumos

Aram Hăvărneanu aram.h at mgk.ro
Sun Oct 17 03:31:30 PDT 2010


>
> My SOP for building ON is
>
>
> (hg pull -u)
> echo "nightly -n ENVFILE" |at -s now
>

I'm doing:

#!/bin/ksh93

TREE=$(cd `dirname $0` && pwd)

cd $TREE
hg pull -u && echo "$TREE/nightly $TREE/illumos.sh" | at -s now &&
sleep 2 && tail -f $TREE/log/nightly.log

(excuse if mail client is wrapping lines...)

I can call that script from everywhere :-).

-- 
Aram Hăvărneanu



More information about the Discuss mailing list