From 2970833df53656ffb1fb0b726c3e7b8529125b8f Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Mon, 9 Dec 2019 20:01:46 +0100 Subject: [PATCH] pass in suite from outside --- devuan-netboot.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/devuan-netboot.sh b/devuan-netboot.sh index 066472e..c627ec1 100644 --- a/devuan-netboot.sh +++ b/devuan-netboot.sh @@ -1,9 +1,14 @@ #!/bin/sh # Nico Schottelius, 2019-12-09 +if [ $# -ne 1 ]; then + echo $0 suite + echo suite is for instance ascii, beowulf, etc +fi + +suite=$1; shift date=$(date +%F) -suite=ascii dir=${suite}-${date} kernel=${dir}-kernel