From 1e26b9d6c71457b7c1dda6d3a4f6bf6c7a798804 Mon Sep 17 00:00:00 2001 From: Sam Elliott Date: Fri, 1 Nov 2019 10:09:54 +0000 Subject: [PATCH] Attempt to fix symlink --- build-gcc-ibex.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build-gcc-ibex.sh b/build-gcc-ibex.sh index 4395857..eefc251 100755 --- a/build-gcc-ibex.sh +++ b/build-gcc-ibex.sh @@ -35,9 +35,10 @@ echo -n 'GCC version: ' >> /tools/riscv/buildinfo echo "Built at $(date -u) on $(hostname)" >> /tools/riscv/buildinfo +mv /tools/riscv "/tools/${TOOLCHAIN_NAME}" + tar -cJ \ --directory=/tools \ -f $ARTIFACT_STAGING_DIR/$TOOLCHAIN_NAME.tar.xz \ - --transform="s@riscv@$TOOLCHAIN_NAME@" \ --owner=0 --group=0 \ - riscv + "${TOOLCHAIN_NAME}"