From e3a6f3f0115ab533558dd69d8cfa2b194f8403e8 Mon Sep 17 00:00:00 2001 From: William Wilhelm Date: Sun, 1 Jan 2023 10:21:44 +0000 Subject: setup-alpine: USEANSWERFILE empty case fix --- setup-alpine.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup-alpine.in b/setup-alpine.in index cf50b43..f21b966 100644 --- a/setup-alpine.in +++ b/setup-alpine.in @@ -68,7 +68,7 @@ case "$USEANSWERFILE" in USEANSWERFILE="$temp" ;; *) - USEANSWERFILE=$(realpath "$USEANSWERFILE") + [ -n "$USEANSWERFILE" ] && USEANSWERFILE=$(realpath "$USEANSWERFILE") ;; esac if [ -n "$USEANSWERFILE" ] && [ -e "$USEANSWERFILE" ]; then -- cgit v1.2.3