From b623313d565cdcb05886657da529cd92253d9b87 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Fri, 6 Jan 2017 06:37:13 +0100 Subject: [PATCH] Linking to file is done on a server side script which recreate links to latest files and remove older in the end of the upload batch. --- build-all.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/build-all.sh b/build-all.sh index a724ada3e9..0e57105124 100644 --- a/build-all.sh +++ b/build-all.sh @@ -63,7 +63,6 @@ nice -n 19 bash -c "\ 7za a -t7z -bd -m0=lzma2 -mx=3 -mfb=64 -md=32m -ms=on $filename ${version}.img armbian.txt *.asc sha256sum.sha >/dev/null 2>&1 ; \ find . -type f -not -name '*.7z' -print0 | xargs -0 rm -- ; \ while ! rsync -arP $CACHEDIR/$DESTIMG/. -e 'ssh -p 22' ${SEND_TO_SERVER}:/var/www/dl.armbian.com/${BOARD}/${subdir};do sleep 5;done; \ -ssh ${SEND_TO_SERVER} \"cd /var/www/dl.armbian.com/${BOARD}; ln -fs ${subdir}/${version}.7z $linkname\"; \ rm -r $CACHEDIR/$DESTIMG" & }