From 503ec01aaa69f6995a4984942dadc87a38a026c0 Mon Sep 17 00:00:00 2001 From: Joshua Bussdieker Date: Fri, 2 Mar 2012 01:30:22 -0800 Subject: [PATCH] Added `gvm update` to download updateds to the Go source --- scripts/update | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 scripts/update diff --git a/scripts/update b/scripts/update new file mode 100755 index 0000000..5824cdf --- /dev/null +++ b/scripts/update @@ -0,0 +1,9 @@ +#!/bin/bash +. $GVM_ROOT/scripts/functions + +cd $GVM_ROOT/archive/go || + display_error "Failed to find local Go source" + +cd $GVM_ROOT/archive/go && hg pull || + display_error "Failed to update" +