Skip to content

Commit 096930f

Browse files
committed
DLPX-93263 24.04 LTS: Set delphix-rust package version to rustc version
PR URL: https://www.github.com/delphix/linux-pkg/pull/333
1 parent 853d743 commit 096930f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/delphix-rust/config.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,7 @@ DEFAULT_PACKAGE_GIT_URL="https://github.com/delphix/delphix-rust.git"
2020

2121
function build() {
2222
logmust mkdir -p "$WORKDIR/repo"
23+
PACKAGE_VERSION="$(tr -d '\n' < "$WORKDIR/repo/RUSTC_VERSION")"
24+
[[ -n "$PACKAGE_VERSION" ]] || die "Failed to retrieve package version"
2325
logmust dpkg_buildpackage_default
2426
}

0 commit comments

Comments
 (0)