build.sh: log skipped non-executable run.sh files
This commit is contained in:
2
build.sh
2
build.sh
@@ -68,6 +68,8 @@ EOF
|
|||||||
log "Begin ${SUB_STAGE_DIR}/${i}-run.sh"
|
log "Begin ${SUB_STAGE_DIR}/${i}-run.sh"
|
||||||
./${i}-run.sh
|
./${i}-run.sh
|
||||||
log "End ${SUB_STAGE_DIR}/${i}-run.sh"
|
log "End ${SUB_STAGE_DIR}/${i}-run.sh"
|
||||||
|
elif [ -f ${i}-run.sh ]; then
|
||||||
|
log "Skip ${SUB_STAGE_DIR}/${i}-run.sh (not executable)"
|
||||||
fi
|
fi
|
||||||
if [ -f ${i}-run-chroot.sh ]; then
|
if [ -f ${i}-run-chroot.sh ]; then
|
||||||
log "Begin ${SUB_STAGE_DIR}/${i}-run-chroot.sh"
|
log "Begin ${SUB_STAGE_DIR}/${i}-run-chroot.sh"
|
||||||
|
|||||||
Reference in New Issue
Block a user