From 1d69faa79277d11fc57f6d425ad7da20d5422a5b Mon Sep 17 00:00:00 2001 From: admins Date: Tue, 12 Jul 2022 23:46:45 -0400 Subject: keep source tree up to date --- bin/update-src.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 bin/update-src.sh 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 + -- cgit 1.4.1-2-gfad0