summaryrefslogtreecommitdiffstats
path: root/robot.sh
blob: 491efc947944928969b7ac7d8ce380a67e1ed926 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

(
    flock -xn 8 || exit 0

    cd /home/nasmbuild
    umask 002
    date=$(date +%Y%m%d.%H%M)
    ./buildall.sh > log/$date 2>&1
    bzip2 log/$date
) 8< "$0"