We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 458a65b + 177b58c commit 04f6a2dCopy full SHA for 04f6a2d
1 file changed
steps/helpers.sh
@@ -113,11 +113,12 @@ bin_preseed() {
113
# that can be overridden on per package basis in the build script.
114
# build takes two arguments:
115
# 1) name-version of the package
116
-# 2) optionally specify build script. Default is name-version.sh
+# 2) optionally specify build script. Default is pass$((revision+1)).sh
117
# 3) optionally specify directory to cd into
118
build() {
119
pkg=$1
120
- script_name=${2:-${pkg}.sh}
+ get_revision "${pkg}"
121
+ script_name=${2:-pass$((revision+1)).sh}
122
dirname=${3:-${pkg}}
123
124
# shellcheck disable=SC2015
@@ -176,7 +177,6 @@ build() {
176
177
call $build_stage
178
179
echo "${pkg}: creating package."
- get_revision "${pkg}"
180
cd "${DESTDIR}"
181
src_pkg
182
0 commit comments