Skip to content

Commit

Permalink
build.sh: execute postrun.sh, if executable
Browse files Browse the repository at this point in the history
  • Loading branch information
XECDesign committed Mar 13, 2017
1 parent 1f1ddb5 commit 8373e58
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
deploy/*
work/*
config
postrun.sh
SKIP
.pc
*-pc
7 changes: 7 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

0 comments on commit 8373e58

Please sign in to comment.