commit 19486ac1f29e4138bfefcc3777ad7f13b641be6a parent 84b1e130087f409243a7d0136a8782b026e511f1 Author: sin <sin@2f30.org> Date: Thu, 28 Nov 2013 16:58:06 +0000 Add update-obsd-kernel script Diffstat:
A | update-obsd-kernel | | | 14 | ++++++++++++++ |
1 file changed, 14 insertions(+), 0 deletions(-)
diff --git a/update-obsd-kernel b/update-obsd-kernel @@ -0,0 +1,14 @@ +#!/bin/sh + +repo=$HOME/repos/obsd-kernel +cd /usr/src/sys +sudo cvs up +tar cfz /tmp/sys.tgz . +cd $repo +tar xzf /tmp/sys.tgz +rm /tmp/sys.tgz +git add . +msg="'$(date)'" +git commit -m "$msg" +git push +cd -