summaryrefslogtreecommitdiffstats
path: root/robot.sh
blob: ef257b16350dd0ea49057f857e4794b0410391fa (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
    xz log/$date
) 8< "$0"