File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- #! /bin/sh
1+ #! /bin/bash
22
33# Updates the workspaces in `.`, `library` and `src/tools/rustbook`
44# Logs are written to `cargo_update.log`
55# Used as part of regular dependency bumps
66
77set -euo pipefail
88
9- echo -e " \ncompiler & tools dependencies:" > cargo_update.log
9+ printf " \ncompiler & tools dependencies:" > cargo_update.log
1010# Remove first line that always just says "Updating crates.io index"
1111cargo update 2>&1 | sed ' /crates.io index/d' | \
1212 tee -a cargo_update.log
13- echo -e " \nlibrary dependencies:" >> cargo_update.log
13+ printf " \nlibrary dependencies:" >> cargo_update.log
1414cargo update --manifest-path library/Cargo.toml 2>&1 | sed ' /crates.io index/d' | \
1515 tee -a cargo_update.log
16- echo -e " \nrustbook dependencies:" >> cargo_update.log
16+ printf " \nrustbook dependencies:" >> cargo_update.log
1717cargo update --manifest-path src/tools/rustbook/Cargo.toml 2>&1 | sed ' /crates.io index/d' | \
1818 tee -a cargo_update.log
You can’t perform that action at this time.
0 commit comments