lnstools

Linux namespace tools
git clone https://ccx.te2000.cz/git/lnstools
Log | Files | Refs | README

commit 1121d8c431615d99ec2c985fb0410e83f0f6e548
parent 9d57a7185de476a82c6406b912c7df7c3798144b
Author: Jan Pobrislo <ccx@te2000.cz>
Date:   Mon,  8 Dec 2025 05:27:57 +0000

Fix script paths in install target

Diffstat:
MMakefile | 3++-
Mconfigure | 4++--
2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile @@ -2,7 +2,8 @@ default: static_executables script_executables .PHONY: default script_executables:=lns-bind-chroot lns-tmpfs-chroot lns-prepare-chroot lns-mounts-to-env -script_executables: $(patsubst %,./build/%,${script_executables}) +script_executable_paths:=$(patsubst %,./build/%,${script_executables}) +script_executables: $(script_executable_paths) .PHONY: script_executables c_executables:=lns-lockdown lns-envuidgid lns-applyuidgid lns-pidns diff --git a/configure b/configure @@ -307,10 +307,10 @@ mk_config_mk() { printf '%s\n' "INSTALL_BINDIR:=$bindir" case $enable_shared in (false) - printf '%s\n' 'install_bin_files:=${script_executables} $(static_executables)' + printf '%s\n' 'install_bin_files:=${script_executable_paths} $(static_executables)' ;; (*) - printf '%s\n' 'install_bin_files:=${script_executables} $(shared_executables)' + printf '%s\n' 'install_bin_files:=${script_executable_paths} $(shared_executables)' ;; esac }