Browse Source

Run shell scripts with `bash` and not with `sh`

pull/227/head
Wandmalfarbe 4 years ago
parent
commit
4d2a946cd4
  1. 2
      .travis.yml
  2. 2
      examples/build-examples.sh

2
.travis.yml

@ -59,4 +59,4 @@ before_install:
before_script:
- cd examples
script:
- sh build-examples.sh
- bash build-examples.sh

2
examples/build-examples.sh

@ -41,7 +41,7 @@ for f in *; do
echo "${Blue}building '$f'${Color_Off}"
cd "$f"
echo " - running pandoc build script"
sh "$PWD/build.sh"
bash "$PWD/build.sh"
echo " - generating preview"
pdftoppm -r 150 -png "document.pdf" > "preview.png"
echo ""

Loading…
Cancel
Save