bugfix
authorDaniel Abrecht <public@danielabrecht.ch>
Sun, 15 May 2022 22:18:55 +0000 (22:18 +0000)
committerDaniel Abrecht <public@danielabrecht.ch>
Sun, 15 May 2022 22:18:55 +0000 (22:18 +0000)
chroot-build-helper/real-makefile

index ff4814b722a8de44bef27801ad2d84c2c04f731d..0dde2277f73e8ae43a24593a9d5b496e257af4f6 100644 (file)
@@ -19,7 +19,7 @@ $(DEBOOTSTRAP_SCRIPT):
 build-env/$(DISTRO)/$(RELEASE)/rootfs: build-env/.dir | $(DEBOOTSTRAP_SCRIPT) $(UEXEC)
        set -ex; \
        mkdir -p "$@.tmp"; \
-       exec 8>".$@.lock"; \
+       exec 8>"$(dir $@).lock"; \
        flock 8; \
        if [ -d "$@" ]; then exit 0; fi; \
        uexec rm -rf "$@.tmp"; \