From 33b184527544447dc4fe0c53f85fe2ab3a49564e Mon Sep 17 00:00:00 2001 From: Tobias Kortkamp Date: Thu, 14 Apr 2022 14:53:23 +0200 Subject: [PATCH] lang/rust-bootstrap/sync.sh: put bootstraps in /home/rust --- lang/rust-bootstrap/sync.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lang/rust-bootstrap/sync.sh b/lang/rust-bootstrap/sync.sh index ca9eadec185d..106b3d40870d 100644 --- a/lang/rust-bootstrap/sync.sh +++ b/lang/rust-bootstrap/sync.sh @@ -19,7 +19,7 @@ pkg fetch -r FreeBSD -o "${DATADIR}" -yg "*-rust-bootstrap-${version}*" find "${DATADIR}/All" -name "*rust-bootstrap-${version}*.*" \ -execdir tar -xvf {} \; -dir="public_distfiles/rust/${date}" +dir="/home/rust/public_distfiles/${date}" cd "${DATADIR}/All/usr/local/rust-bootstrap" mkdir -p tmp for arch in $(ls); do @@ -30,6 +30,6 @@ for arch in $(ls); do fi done cd tmp -tar -cf- . | ssh freefall.freebsd.org "mkdir -p \"${dir}\" && tar -C \"${dir}\" -xvf-" +tar -cf- . | ssh freefall.freebsd.org "mkdir -m 775 -p \"${dir}\" && tar -C \"${dir}\" -xvf-" cd / rm -r "${DATADIR}"