X-Git-Url: https://git.arvados.org/rnaseq-cwl-training.git/blobdiff_plain/48b6ab3ebcbc56eee36ffe1c7c00e6028746fcc5..HEAD:/bin/knit_lessons.sh?ds=inline diff --git a/bin/knit_lessons.sh b/bin/knit_lessons.sh index 194f124..141c136 100755 --- a/bin/knit_lessons.sh +++ b/bin/knit_lessons.sh @@ -3,6 +3,6 @@ # Only try running R to translate files if there are some files present. # The Makefile passes in the names of files. -if [ $# -ne 0 ] ; then +if [ $# -eq 2 ] ; then Rscript -e "source('bin/generate_md_episodes.R')" "$@" fi