gendoc: Allow script to be run from other directories

This commit is contained in:
Andy Williams 2017-12-08 11:00:40 +00:00
parent 7b5551c548
commit dc821546ad
1 changed files with 1 additions and 0 deletions

View File

@ -1,5 +1,6 @@
#!/bin/sh
# a parallel doc generation script
cd "$(dirname "$(realpath "$0")")";
# exit on failure
set -e