build.sh: execute postrun.sh, if executable
This commit is contained in:
parent
1f1ddb5f13
commit
8373e58195
2 changed files with 8 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,6 +1,7 @@
|
|||
deploy/*
|
||||
work/*
|
||||
config
|
||||
postrun.sh
|
||||
SKIP
|
||||
.pc
|
||||
*-pc
|
||||
|
|
7
build.sh
7
build.sh
|
@ -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}"
|
||||
|
|
Reference in a new issue