gentoo-asahi-releng/scripts/cp-musl.sh
Anthony G. Basile c6a9395dbb
scripts/{cp-musl.sh,cp-uclibc.sh}: move from nightheron:/home/blueness
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2020-12-19 15:18:35 -05:00

22 lines
787 B
Bash
Executable file

#!/bin/bash
CATDIR="/release/buildroot/alt-dev/builds/musl"
SERVER="amd64@dipper:~/musl"
LIST=$(find $CATDIR -maxdepth 3 -iname 'stage3*amd64*' -type l)
#COMMAND="rsync -e ssh -i /root/.ssh/id_rsa -o UserKnownHostsFile=/dev/null -o VerifyHostKeyDNS=yes -o StrictHostKeyChecking=no -a --omit-dir-times --delay-updates "
COMMAND="rsync"
for f in $LIST; do
$COMMAND $(realpath $f) $SERVER
$COMMAND $(realpath $f).CONTENTS.gz $SERVER
$COMMAND $(realpath $f).DIGESTS $SERVER
done
#SERVER="/release/weekly/builds/x86/musl"
SERVER="x86@dipper:~/musl"
LIST=$(find $CATDIR -maxdepth 3 -iname 'stage3*i686*' -type l)
for f in $LIST; do
$COMMAND $(realpath $f) $SERVER
$COMMAND $(realpath $f).CONTENTS.gz $SERVER
$COMMAND $(realpath $f).DIGESTS $SERVER
done