projects
/
rnaseq-cwl-training.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb4e1dd
)
knit_lessons.sh: require 2 inputs exactly
author
Maxim Belkin <maxim.belkin@gmail.com>
Wed, 12 Dec 2018 08:13:23 +0000
(
02:13
-0600)
committer
François Michonneau <francois.michonneau@gmail.com>
Wed, 12 Dec 2018 11:11:04 +0000
(06:11 -0500)
bin/knit_lessons.sh
patch
|
blob
|
history
diff --git
a/bin/knit_lessons.sh
b/bin/knit_lessons.sh
index 194f12421a6d1fd64a7ee2b367bbcf776953da05..141c136adce04042732d19eb416bc915e57e2717 100755
(executable)
--- 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