summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Cantrill <bcantrill@acm.org>2011-08-02 20:19:01 -0700
committerBryan Cantrill <bcantrill@acm.org>2011-08-02 20:19:01 -0700
commit3cb4c3ca1fbf7025715744ac36d8cd60714e4dbe (patch)
tree09741dae615deb150e4c6ce7f6f386264f23ca69
parentd999719909538c8c9980f3b148f881369d3b8ca3 (diff)
downloadillumos-kvm-3cb4c3ca1fbf7025715744ac36d8cd60714e4dbe.tar.gz
HVM-549 kvm-xxx should only "make clean" on SmartOS
-rwxr-xr-xtools/kvm-xxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/kvm-xxx b/tools/kvm-xxx
index 0cfe7e6..fb77b09 100755
--- a/tools/kvm-xxx
+++ b/tools/kvm-xxx
@@ -65,7 +65,9 @@ if [[ ! -d .git ]]; then
fatal "must be in the root directory of the repo"
fi
-make clean
+if [[ `uname -s` == "SunOS" ]]; then
+ make clean
+fi
if ! git checkout master > /dev/null 2>&1 ; then
fatal "could not checkout master"