summaryrefslogtreecommitdiffstats
path: root/robot.sh
blob: 6e45e9b12a5c1d43eed6d32348e3eabdbbc38edc (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
) 8< "$0"