gBootRoot pronounced "bOOtrOOt"
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

18 lines
629 B

#!/bin/bash -x
# This presently just does two things: compiles skas-or-tt, and then edits
# the Makefile to the MODE of the system.
SKAS_OR_TT_DIR=skas-or-tt
#skas-or-tt:
if [ ! -f $SKAS_OR_TT_DIR/skas-or-tt ] ; then \
make -C $SKAS_OR_TT_DIR; \
strip -s $SKAS_OR_TT_DIR/skas-or-tt; \
fi;
perl -e 'open(IT,"skas-or-tt/skas-or-tt|") or die "Trouble opening skas-or-tt/skas-or-tt\n"; while (<IT>) { if (!m,not found$$,) { $it = "skas"; } else { $it = "tt"; } } system "perl -pi -e \"s/MODE=tt\n/MODE=skas\n/g\" Makefile" if $it eq "skas"; system "perl -pi -e \"s/MODE=skas\n/MODE=tt\n/g\" Makefile" if $it eq "tt"; '