about summary refs log tree commit diff stats
path: root/bin/update-src.sh
blob: 1c79b7993fecb154c6ed9d51e492c3344cea5361 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
set -e

# literally just keeps the source tree up to date, per user request.
# one copy of stable, one copy of current.
# call this with cron.
# ~gbmor

cd /usr/src
printf '%s\n' 'Updating 7.1-STABLE ...'
nice -n 20 cvs -q up -Pd -rOPENBSD_7_1

cd /usr/src-current
printf '%s\n' 'Updating CURRENT ...'
nice -n 20 cvs -q up -Pd -A