keep source tree up to date

This commit is contained in:
admins 2022-07-12 23:46:45 -04:00
parent f5e12d67fe
commit 1d69faa792
1 changed files with 13 additions and 0 deletions

13
bin/update-src.sh Executable file
View File

@ -0,0 +1,13 @@
#!/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
nice -n 20 cvs -q up -Pd -rOPENBSD_7_1
cd /usr/src-current
nice -n 20 cvs -q up -Pd -A