#!/bin/sh if [[ $1 == "dev" ]];then rsync -a --delete --exclude=.svn tug.org::tldevsrc/Build/source . else # source variables PWD=$(pwd) TMPDIR=$(mktemp -d) . ${PWD}/variables.conf [[ -d "texlive-${TL_PUBDATE}-source" ]] && rm -rf texlive-${TL_PUBDATE}-source wget --show-progress https://mirrors.ctan.org/systems/texlive/Source/texlive-${TL_PUBDATE}-source.tar.xz -P ${TMPDIR}/ xzcat ${TMPDIR}/texlive-${TL_PUBDATE}-source.tar.xz | tar xf - fi