Explicitly check if postrun script exists in BASE_DIR (#351)

This commit is contained in:
Leander 2019-11-26 16:03:48 +01:00 committed by XECDesign
parent 5e19033387
commit 5456c3801f

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