Skip to content

Commit

Permalink
Explicitly check if postrun script exists in BASE_DIR (RPi-Distro#351)
Browse files Browse the repository at this point in the history
  • Loading branch information
LCvanDinteren authored and XECDesign committed Nov 26, 2019
1 parent 5e19033 commit 5456c38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ for EXPORT_DIR in ${EXPORT_DIRS}; do
fi
done

if [ -x postrun.sh ]; then
if [ -x ${BASE_DIR}/postrun.sh ]; then
log "Begin postrun.sh"
cd "${BASE_DIR}"
./postrun.sh
Expand Down

0 comments on commit 5456c38

Please sign in to comment.