diff options
-rwxr-xr-x | bin/update-src.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bin/update-src.sh b/bin/update-src.sh new file mode 100755 index 0000000..c3187b0 --- /dev/null +++ b/bin/update-src.sh @@ -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 + |