[kernel] overiddable hostname
This commit is contained in:
parent
f8aac609f8
commit
2eec57513d
1 changed files with 2 additions and 1 deletions
|
@ -1,9 +1,10 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
set -x
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
THIS_HOST=$(hostname -s)
|
THIS_HOST=${THIS_HOST:-$(hostname -s)}
|
||||||
PRGNAM=$(basename $CWD)-$THIS_HOST
|
PRGNAM=$(basename $CWD)-$THIS_HOST
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
BRANCH=${BRANCH:-mainline} # stable ; mainline
|
BRANCH=${BRANCH:-mainline} # stable ; mainline
|
||||||
|
|
Loading…
Reference in a new issue