Permalink
Browse files

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.
  • Loading branch information...
1 parent 6b3836b commit b623313d565cdcb05886657da529cd92253d9b87 @igorpecovnik committed Jan 6, 2017
Showing with 0 additions and 1 deletion.
  1. +0 −1 build-all.sh
View
@@ -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" &
}

0 comments on commit b623313

Please sign in to comment.