build.sh: execute postrun.sh, if executable

This commit is contained in:
Serge Schneider
2017-03-13 17:44:31 +00:00
parent 1f1ddb5f13
commit 8373e58195
2 changed files with 8 additions and 0 deletions
+7
View File
@@ -184,4 +184,11 @@ for EXPORT_DIR in ${EXPORT_DIRS}; do
fi
done
if [ -x postrun.sh ]; then
log "Begin postrun.sh"
cd "${BASE_DIR}"
./postrun.sh
log "End postrun.sh"
fi
log "End ${BASE_DIR}"