From c01598cd742c730b55042891f6c01cf715992f0a Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sat, 3 May 2025 17:25:10 +0300 Subject: [PATCH] Use absolute paths for config.tonl --- pkg.info | 1 + source.sh | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg.info b/pkg.info index c2636fe..2395b17 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,7 @@ name: rustc description: The rust programming language compiler version: 1.85.0 +revision: 2 url: https://www.rust-lang.org/ license: Apache-2.0 or MIT architecture: any diff --git a/source.sh b/source.sh index 0449085..17302bf 100644 --- a/source.sh +++ b/source.sh @@ -10,7 +10,9 @@ FILENAME="${DOWNLOAD##*/}" prepare() { wget "$DOWNLOAD" tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" - cp config.toml "$BPM_SOURCE" + + # Copy rust build config to source directory + cp "$BPM_WORKDIR"/config.toml "$BPM_SOURCE"/config.toml } # The build function is executed in the source directory