summaryrefslogtreecommitdiff
path: root/jobs/alpine-amd64.run
blob: fbb2961c43f2764a901b6faa993fc6ca75b41107 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
# vim: ft=sh
. "$(dirname "$(readlink -f "$0")")/../job.common"

if [ -n "$CLEAN" ]; then
	echo_stage "Remove root"
	flock --exclusive "$WORKSPACE/root.lock" uroot rm -rf "$WORKSPACE/root"
fi

export ROOT="$WORKSPACE/root"
flock --exclusive "$WORKSPACE/root.lock" "$FILES/alpine/amd64.sh"