removing usage of pushd/popd for alpine docker builds

This commit is contained in:
shockrah 2021-01-25 20:01:31 -08:00
parent 55efbfd85c
commit aae59e7d68

View File

@ -8,18 +8,18 @@ mkdir -p bin/
# Statically built binaries make this part really easy # Statically built binaries make this part really easy
for target in $cargo_targets;do for target in $cargo_targets;do
echo ================================================ echo ================================================
echo = = echo =
echo = = echo =
echo = = echo =
echo Building $target echo = Building $target
echo = = echo =
echo = = echo =
echo = = echo =
echo ================================================ echo ================================================
pushd $target cd $target
cargo build --release cargo build --release
cp target/release/$target ../bin/ cp target/release/$target ../bin/
popd cd ../
done done