Use absolute paths for config.tonl

This commit is contained in:
2025-05-03 17:25:10 +03:00
parent b276a8ec24
commit c01598cd74
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -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
+3 -1
View File
@@ -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