Use absolute paths for config.tonl
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
name: rustc
|
name: rustc
|
||||||
description: The rust programming language compiler
|
description: The rust programming language compiler
|
||||||
version: 1.85.0
|
version: 1.85.0
|
||||||
|
revision: 2
|
||||||
url: https://www.rust-lang.org/
|
url: https://www.rust-lang.org/
|
||||||
license: Apache-2.0 or MIT
|
license: Apache-2.0 or MIT
|
||||||
architecture: any
|
architecture: any
|
||||||
|
|||||||
@@ -10,7 +10,9 @@ FILENAME="${DOWNLOAD##*/}"
|
|||||||
prepare() {
|
prepare() {
|
||||||
wget "$DOWNLOAD"
|
wget "$DOWNLOAD"
|
||||||
tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE"
|
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
|
# The build function is executed in the source directory
|
||||||
|
|||||||
Reference in New Issue
Block a user