Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Commit

Permalink
build-livecd-rfs: Do not add '.' to PATH, but instead $PWD
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
smoser authored and hallyn committed May 12, 2023
1 parent b588fd2 commit 95f9d92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion live/build-livecd-rfs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 95f9d92

Please sign in to comment.