Skip to content

Commit

Permalink
refactor(scripts): Allow runtime override of shell run by GNU parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Aug 22, 2024
1 parent 9c6ad26 commit dce7442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/split_chapters.zsh.in
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function cleanup_split () {
normalize_pandoc < $1 < $src | sponge $1
}
F=$(functions cleanup_split normalize_pandoc)
parallel @ZSH@ -c "$F; src=$src; cleanup_split" ::: ${files[@]}
parallel $ZSH -c "$F; src=$src; cleanup_split" ::: ${files[@]}

track $bookid.md ${files[@]}
commit "Split $bookid up into chapters and sections"
Expand Down

0 comments on commit dce7442

Please sign in to comment.