logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>
commit: 04f6a2d2047cb1c8e1923777a4b9c719eb08f6cf
parent 458a65b1d004d976bb55af64b39440171e6f4c11
Author: Andrius Štikonas <andrius@stikonas.eu>
Date:   Wed, 24 Jan 2024 00:24:19 +0000

Merge pull request #417 from Googulator/fix-default-buildscript

Fix the default build script used by "build <package name>"

Diffstat:

Msteps/helpers.sh6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/steps/helpers.sh b/steps/helpers.sh @@ -113,11 +113,12 @@ bin_preseed() { # that can be overridden on per package basis in the build script. # build takes two arguments: # 1) name-version of the package -# 2) optionally specify build script. Default is name-version.sh +# 2) optionally specify build script. Default is pass$((revision+1)).sh # 3) optionally specify directory to cd into build() { pkg=$1 - script_name=${2:-${pkg}.sh} + get_revision "${pkg}" + script_name=${2:-pass$((revision+1)).sh} dirname=${3:-${pkg}} # shellcheck disable=SC2015 @@ -176,7 +177,6 @@ build() { call $build_stage echo "${pkg}: creating package." - get_revision "${pkg}" cd "${DESTDIR}" src_pkg