summaryrefslogtreecommitdiffstats
path: root/robot.sh
blob: f0abc90c4419f1cf1c43aae6a50cacd6c82d9e62 (plain)
1
2
3
4
5
6
7
8
9
10
#!/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
) < "$0"