summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2011-07-25 22:46:08 +0000
committerRobert Mustacchi <rm@joyent.com>2011-07-25 23:00:14 +0000
commit50e728835d7b41d6f2f552ab2761102add3d5146 (patch)
tree5cddf40802e72a1054cdc9798bb767d31e6c3710 /tools
parent1f4247e8b7935afd4b429531c9c26658ac50ec06 (diff)
downloadillumos-kvm-50e728835d7b41d6f2f552ab2761102add3d5146.tar.gz
HVM-515 ./tools/kvm-xxx doesn't work if repo is built
HVM-516 add kvm to the gitignore
Diffstat (limited to 'tools')
-rwxr-xr-xtools/kvm-xxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/kvm-xxx b/tools/kvm-xxx
index e6c09c3..6b9e0e7 100755
--- a/tools/kvm-xxx
+++ b/tools/kvm-xxx
@@ -65,6 +65,8 @@ if [[ ! -d .git ]]; then
fatal "must be in the root directory of the repo"
fi
+gmake clean
+
if ! git checkout master > /dev/null 2>&1 ; then
fatal "could not checkout master"
fi