Use sub-shells instead of pushd / popd.
The push and pop commands print the directory stack to stdout, while subshells and cd is quiet.
This commit is contained in:
@@ -21,10 +21,11 @@ PKGS="libcretonne libreader tools"
|
||||
echo ====== Rust unit tests and debug builds ======
|
||||
for PKG in $PKGS
|
||||
do
|
||||
pushd $topdir/src/$PKG
|
||||
(
|
||||
cd $topdir/src/$PKG
|
||||
cargo test
|
||||
cargo build
|
||||
popd
|
||||
)
|
||||
done
|
||||
|
||||
# Build cton-util for parser testing.
|
||||
|
||||
Reference in New Issue
Block a user