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

Fix the default build script used by "build <package name>"
This commit is contained in:
Andrius Štikonas 2024-01-24 00:24:19 +00:00 committed by GitHub
commit 04f6a2d204
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 3 deletions

View File

@ -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