build.sh: execute postrun.sh, if executable

pull/56/head
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/*
work/*
config
postrun.sh
SKIP
.pc
*-pc

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}"