From 92499af323d861576d077c24dd41dcd80a1132c0 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Sun, 8 Jun 2014 07:37:51 +0200 Subject: [PATCH] Revert "Build for Solaris" This reverts commit 5a2328d9a5f6aca1ff3609c61788d7357d81df83. --- build.sh | 2 +- cmd/syncthing/upgrade.go | 2 -- cmd/syncthing/upgrade_solaris.go | 7 ------- 3 files changed, 1 insertion(+), 10 deletions(-) delete mode 100644 cmd/syncthing/upgrade_solaris.go diff --git a/build.sh b/build.sh index c782bf75b..89848245d 100755 --- a/build.sh +++ b/build.sh @@ -121,7 +121,7 @@ case "$1" in godep go build ./cmd/stpidx godep go build ./cmd/stcli - for os in darwin-amd64 linux-386 linux-amd64 freebsd-amd64 windows-amd64 windows-386 solaris-amd64 ; do + for os in darwin-amd64 linux-386 linux-amd64 freebsd-amd64 windows-amd64 windows-386 ; do export GOOS=${os%-*} export GOARCH=${os#*-} diff --git a/cmd/syncthing/upgrade.go b/cmd/syncthing/upgrade.go index 6b09f8533..2ac2843b5 100644 --- a/cmd/syncthing/upgrade.go +++ b/cmd/syncthing/upgrade.go @@ -2,8 +2,6 @@ // Use of this source code is governed by an MIT-style license that can be // found in the LICENSE file. -// +build !solaris - package main import ( diff --git a/cmd/syncthing/upgrade_solaris.go b/cmd/syncthing/upgrade_solaris.go deleted file mode 100644 index 0df2d0e2f..000000000 --- a/cmd/syncthing/upgrade_solaris.go +++ /dev/null @@ -1,7 +0,0 @@ -package main - -import "errors" - -func upgrade() error { - return errors.New("Upgrade currently unsupported on Solaris") -}