Remove software carpentries logo
[rnaseq-cwl-training.git] / bin / knit_lessons.sh
index 6f9dae04dcc09173e34d6fe72a02b638cb22dba0..141c136adce04042732d19eb416bc915e57e2717 100755 (executable)
@@ -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