diff --git a/scripts/srtool-build.sh b/scripts/srtool-build.sh index 532912a50c..91e30491a4 100755 --- a/scripts/srtool-build.sh +++ b/scripts/srtool-build.sh @@ -3,8 +3,8 @@ set -xe RUSTC_VERSION=`curl -s https://raw.githubusercontent.com/paritytech/srtool/master/RUSTC_VERSION` -PACKAGE=$PACKAGE; -BUILD_OPTS=$BUILD_OPTS; +PACKAGE=$PACKAGE +BUILD_OPTS=$BUILD_OPTS PROFILE=$PROFILE docker run --rm -it -e WASM_BUILD_STD=0 -e PROFILE=$PROFILE -e PACKAGE=$PACKAGE -e BUILD_OPTS="$BUILD_OPTS" -v $PWD:/build -v $TMPDIR/cargo:/cargo-home paritytech/srtool:$RUSTC_VERSION $*