Skip to content

Commit

Permalink
Prepend the build root to the recipe dir in the vm
Browse files Browse the repository at this point in the history
The build root is always '/', so that this change seems
to not do anything. But this fixes the

    if test "$MYSRCDIR" = $BUILD_ROOT/.build-srcdir; then

lines in the recipe implementions.
  • Loading branch information
mlschroe committed Jun 12, 2024
1 parent f7d979e commit dca0e07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build
Original file line number Diff line number Diff line change
Expand Up @@ -1018,7 +1018,7 @@ shopt -s nullglob
export PATH=$BUILD_DIR:/sbin:/usr/sbin:/bin:/usr/bin:$PATH

if vm_detect_2nd_stage ; then
set "/.build-srcdir/$RECIPEFILE"
set "$BUILD_ROOT/.build-srcdir/$RECIPEFILE"
export PATH=/.build:$PATH
fi

Expand Down

0 comments on commit dca0e07

Please sign in to comment.