From 2eec57513d54dd2ff847550b5172b9dbb12bfb65 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Mon, 14 Dec 2020 09:33:12 +0100 Subject: [PATCH] [kernel] overiddable hostname --- a/kernel-gwh/SlackBuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/a/kernel-gwh/SlackBuild b/a/kernel-gwh/SlackBuild index 3e437ab4..02c8ca52 100755 --- a/a/kernel-gwh/SlackBuild +++ b/a/kernel-gwh/SlackBuild @@ -1,9 +1,10 @@ #!/bin/sh set -e +set -x CWD=$(pwd) -THIS_HOST=$(hostname -s) +THIS_HOST=${THIS_HOST:-$(hostname -s)} PRGNAM=$(basename $CWD)-$THIS_HOST BUILD=${BUILD:-1} BRANCH=${BRANCH:-mainline} # stable ; mainline