summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeander <lcvandinteren@gmail.com>2019-11-26 16:03:48 +0100
committerXECDesign <XECDesign@users.noreply.github.com>2019-11-26 15:03:47 +0000
commit5456c3801fc7ef99d1563cd54e581cb9b3d54c4a (patch)
tree4354f28258bca64ad2be4460e1794dc6f4785a29
parent5e190333878c45695990a861092991bb5c2cfd15 (diff)
Explicitly check if postrun script exists in BASE_DIR (#351)
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index b806562..a396b06 100755
--- a/build.sh
+++ b/build.sh
@@ -247,7 +247,7 @@ for EXPORT_DIR in ${EXPORT_DIRS}; do
fi
done
-if [ -x postrun.sh ]; then
+if [ -x ${BASE_DIR}/postrun.sh ]; then
log "Begin postrun.sh"
cd "${BASE_DIR}"
./postrun.sh