summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndy Williams <andy@andywilliams.me>2017-12-08 11:00:40 +0000
committerAndy Williams <andy@andywilliams.me>2017-12-08 11:00:50 +0000
commitdc821546ad6e4b4c90be6854410e39038648b00d (patch)
tree369612558f294f35a02c79c0de877a5c27aea095 /src
parent7b5551c5485afa4191e9e6af6dc1fa1b3f4272cd (diff)
gendoc: Allow script to be run from other directories
Diffstat (limited to 'src')
-rwxr-xr-xsrc/scripts/elua/apps/gendoc.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scripts/elua/apps/gendoc.sh b/src/scripts/elua/apps/gendoc.sh
index 73618c2125..f14fcfda6e 100755
--- a/src/scripts/elua/apps/gendoc.sh
+++ b/src/scripts/elua/apps/gendoc.sh
@@ -1,5 +1,6 @@
1#!/bin/sh 1#!/bin/sh
2# a parallel doc generation script 2# a parallel doc generation script
3cd "$(dirname "$(realpath "$0")")";
3 4
4# exit on failure 5# exit on failure
5set -e 6set -e