build.sh: execute postrun.sh, if executable

This commit is contained in:
Serge Schneider 2017-03-13 17:44:00 +00:00
parent 1f1ddb5f13
commit 8373e58195
2 changed files with 8 additions and 0 deletions

1
.gitignore vendored
View file

@ -1,6 +1,7 @@
deploy/* deploy/*
work/* work/*
config config
postrun.sh
SKIP SKIP
.pc .pc
*-pc *-pc

View file

@ -184,4 +184,11 @@ for EXPORT_DIR in ${EXPORT_DIRS}; do
fi fi
done done
if [ -x postrun.sh ]; then
log "Begin postrun.sh"
cd "${BASE_DIR}"
./postrun.sh
log "End postrun.sh"
fi
log "End ${BASE_DIR}" log "End ${BASE_DIR}"