blob: 6c74a7c97f454dd424aaef0f1eb4b79c883b9b42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#
# set -o errexit -o noglob are assumed.
#
post_build_files() {
: $((BUILD_TIMES_SECS=$(command date +%s)-${BUILD_TIMES_SECS}));
: $((BUILD_TIMES_HOURS=${BUILD_TIMES_SECS}/3600));
: $((BUILD_TIMES_MINUTES=(${BUILD_TIMES_SECS}%3600)/60));
: $((BUILD_TIMES_SECS=(${BUILD_TIMES_SECS}%3600)%60));
if [ -f "${BUILD_STATUS_IN_PROGRESS_FNAME}" ]; then
build_fileop rm ${BUILD_STATUS_IN_PROGRESS_FNAME};
fi;
};
# vim:filetype=sh
|