Explicitly check if postrun script exists in BASE_DIR

pull/351/head
Leander van Dinteren 2019-11-26 16:00:17 +01:00
parent 5e19033387
commit 4aa24bc958
1 changed files with 1 additions and 1 deletions

View File

@ -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