#!/bin/bash cd "/work/$LATEXMK_CD_DIR" if [ "$SKIP_ENTRY" = false ] ; then latexmk -outdir=/build "$@" else bash fi