From 95f9d92de57b43b775c323768cf4ab891300dbb1 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Fri, 5 May 2023 14:00:03 -0400 Subject: [PATCH] build-livecd-rfs: Do not add '.' to PATH, but instead $PWD Golang now refuses to execute a program if it is found in '.'. It will return the ErrDot error. This change just adds the full directory path to the current directory instead. Signed-off-by: Scott Moser --- live/build-livecd-rfs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/live/build-livecd-rfs b/live/build-livecd-rfs index 929b207..d21a669 100755 --- a/live/build-livecd-rfs +++ b/live/build-livecd-rfs @@ -3,7 +3,7 @@ # This script is long enough and a common enough operation that it # suggests we should have a mosb subcommand for this. -export PATH=$PATH:. +export PATH="$PATH:$PWD" usage() { echo "Example usage: --project=snakeoil:default --layer=oci:oci:provision-rootfs-squashfs --output provision.iso --help"