mirror of https://github.com/openXC7/prjxray.git
genheader: export SPECDIR
Signed-off-by: John McMaster <johndmcmaster@gmail.com>
This commit is contained in:
parent
2bea69402e
commit
20db34836f
|
|
@ -10,14 +10,14 @@ set -ex
|
|||
# for some reason on sourced script set -e doesn't work
|
||||
# Scripts may have additional arguments, but first is reserved for build directory
|
||||
test $# -ge 1 || exit 1
|
||||
test ! -e "$SPECN"
|
||||
SPECN=$1
|
||||
test ! -e "$SPECDIR"
|
||||
export SPECDIR=$1
|
||||
|
||||
rm -rf "$SPECN"
|
||||
mkdir -p "$SPECN"
|
||||
cd "$SPECN"
|
||||
rm -rf "$SPECDIR"
|
||||
mkdir -p "$SPECDIR"
|
||||
cd "$SPECDIR"
|
||||
|
||||
export SEED="$(echo $SPECN | md5sum | cut -c1-8)"
|
||||
export SEED="$(echo $SPECDIR | md5sum | cut -c1-8)"
|
||||
export SEEDN="$(basename $(pwd) |sed s/specimen_0*//)"
|
||||
|
||||
function seed_vh () {
|
||||
|
|
|
|||
Loading…
Reference in New Issue