From b752ff540c9df45cb560073659088c9a0342fb7b Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Tue, 4 Mar 2025 22:38:46 +0100 Subject: [PATCH] build: allow the docker build script to be sourced by downstream repository. --- dists/docker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dists/docker.sh b/dists/docker.sh index 4dd958759..a99fefaf7 100644 --- a/dists/docker.sh +++ b/dists/docker.sh @@ -14,7 +14,7 @@ readonly VOLUME=/tmp/build readonly BUILDIR=/home/build/tmp readonly OUTDIR=".pkg" readonly OUTPUT="$PWD/$OUTDIR" -readonly COMMAND="$1" +readonly COMMAND="${1:-}" VERSION="0.$(git rev-list --count HEAD)" PACKAGER="$(git config user.name) <$(git config user.email)>" readonly VERSION PACKAGER