Skip to content

Commit d1755b7

Browse files
committed
Make install-crosstool-ng.sh script easy to rerun
Delete the previous build artifacts when rerunning the script instead of failing. This won't happen in CI, but does in local debugging.
1 parent a05468b commit d1755b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

install-crosstool-ng.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ set -e
1313

1414
mkdir -p "${build_top_dir}/build"
1515

16+
rm -rf "${build_top_dir}/build/crosstool-ng"
1617
git clone https://github.com/lowRISC/crosstool-ng "${build_top_dir}/build/crosstool-ng"
1718
cd "${build_top_dir}/build/crosstool-ng"
1819
git checkout --force "${CROSSTOOL_NG_VERSION}"

0 commit comments

Comments
 (0)