change shell parameter to "$@"
authorFrançois Michonneau <francois.michonneau@gmail.com>
Tue, 21 Aug 2018 21:24:40 +0000 (17:24 -0400)
committerFrançois Michonneau <francois.michonneau@gmail.com>
Tue, 21 Aug 2018 21:24:40 +0000 (17:24 -0400)
bin/knit_lessons.sh

index 6f9dae04dcc09173e34d6fe72a02b638cb22dba0..194f12421a6d1fd64a7ee2b367bbcf776953da05 100755 (executable)
@@ -4,5 +4,5 @@
 # The Makefile passes in the names of files.
 
 if [ $# -ne 0 ] ; then
-    Rscript -e "source('bin/generate_md_episodes.R')" $*
+    Rscript -e "source('bin/generate_md_episodes.R')" "$@"
 fi