Only try building R files if there are some
[rnaseq-cwl-training.git] / bin / knit_lessons.sh
1 #!/usr/bin/env bash
2
3 # Only try running R to translate files if there are some files present.
4 # The Makefile passes in the names of files.
5
6 if [ $# -ne 0 ] ; then
7     Rscript -e "source('bin/generate_md_episodes.R')"
8 fi