Skip to content

Commit

Permalink
knit_lessons.sh: require 2 inputs exactly
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim-belkin authored and fmichonneau committed Dec 12, 2018
1 parent cb4e1dd commit e488057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/knit_lessons.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e488057

Please sign in to comment.