mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 12:46:26 +00:00
bin/fetch_coreboot_crossgcc_archive.sh: ln -s again if link exists
Changes in things like modules/coreboot will check the coreboot toolchain archives again. We reuse the cached archive already, but the final ln -s may fail if the link already exists. Remove it first and link again. Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
This commit is contained in:
parent
90d1c2e9e3
commit
ff1d606be6
@ -128,5 +128,6 @@ BIN_DIR="$(dirname "${BASH_SOURCE[0]}")"
|
||||
mkdir -p "$COREBOOT_DIR/util/crossgcc/tarballs"
|
||||
(
|
||||
cd "$COREBOOT_DIR/util/crossgcc/tarballs"
|
||||
rm -f "$PKG_BASENAME"
|
||||
ln -s "$PKGS_DIR/coreboot-crossgcc-$PKG_BASENAME" "$PKG_BASENAME"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user