Skip to content

Commit e6c99e8

Browse files
committed
[update] : No arch lockfile
1 parent 3db03be commit e6c99e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,11 +215,11 @@ umount_chroot_advance() {
215215
# Helper function to run make_*() only one time.
216216
run_once() {
217217
set -eu
218-
if [[ ! -e "${lockfile_dir}/build.${1}_${arch}" ]]; then
218+
if [[ ! -e "${lockfile_dir}/build.${1}" ]]; then
219219
msg_debug "Running ${1} ..."
220220
mount_airootfs
221-
"${1}"
222-
mkdir -p "${lockfile_dir}"; touch "${lockfile_dir}/build.${1}_${arch}"
221+
eval "${@}"
222+
mkdir -p "${lockfile_dir}"; touch "${lockfile_dir}/build.${1}"
223223
umount_chroot_advance
224224
else
225225
msg_debug "Skipped because ${1} has already been executed."

0 commit comments

Comments
 (0)