X-Git-Url: https://git.arvados.org/rnaseq-cwl-training.git/blobdiff_plain/2e8a6b0c98b2e93521984c6ad1fe12d00dbc27b6..HEAD:/bin/knit_lessons.sh diff --git a/bin/knit_lessons.sh b/bin/knit_lessons.sh index 3a2395f..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 - Rscript -e "source('bin/generate_md_episodes.R')" +if [ $# -eq 2 ] ; then + Rscript -e "source('bin/generate_md_episodes.R')" "$@" fi