#!/bin/bash -e #--------------------------------------------------------------------- SCNAME=build-03-gn.sh echo $SCNAME started #--------------------------------------------------------------------- if [ "@$BSCDIR" == "@" ]; then echo Error: $SCNAME called out of order exit 1 fi if [ \! -f CODE_OF_CONDUCT.md ]; then echo Error: $SCNAME used in wrong directory exit 1 fi #--------------------------------------------------------------------- set -e ls $BSCDIR/myflags.gn echo gn gen "'"`cat $BSCDIR/myflags.gn`"'" out > gntemp.sh bash ./gntemp.sh #--------------------------------------------------------------------- echo $SCNAME done #--------------------------------------------------------------------- # End of file.