summaryrefslogtreecommitdiff
path: root/scripts/update-cron.sh
blob: 3c387f7be61be6f0d70ddca5eecb853d462d9ad7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

update()
{
	echo "git pull"
	git pull || return $?
	echo

	echo "make aggregate"
	make aggregate || return $?
	echo

	echo "make"
	make || return $?
	echo
}

cd /opt/swamid-metadata || exit 1
update