diff options
author | Sergio Luis O. B. Correia <sergio@larces.uece.br> | 2009-11-23 17:32:51 -0800 |
---|---|---|
committer | Sergio Luis O. B. Correia <sergio@larces.uece.br> | 2009-11-23 17:32:51 -0800 |
commit | 4d33b8a8cd75101d60aeef4bd38fca472943b3dd (patch) | |
tree | b739091738e77c3d0fdbd27f77d22ed0e281dc32 /src/pkg/crypto | |
parent | 60c09d05acbb176013a749977f7b047930822a07 (diff) | |
download | golang-4d33b8a8cd75101d60aeef4bd38fca472943b3dd.tar.gz |
go: makes it build for the case $GOROOT has whitespaces
the bash scripts and makefiles for building go didn't take into account
the fact $GOROOT / $GOBIN could both be directories containing whitespaces,
and was not possible to build it in such a situation.
this commit adjusts the various makefiles/scripts to make it aware of that
possibility, and now it builds successfully when using a path with whitespaces
as well.
Fixes issue 115.
R=rsc, dsymonds1
http://codereview.appspot.com/157067
Committer: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/pkg/crypto')
-rw-r--r-- | src/pkg/crypto/aes/Makefile | 4 | ||||
-rw-r--r-- | src/pkg/crypto/block/Makefile | 4 | ||||
-rw-r--r-- | src/pkg/crypto/hmac/Makefile | 4 | ||||
-rw-r--r-- | src/pkg/crypto/md5/Makefile | 4 | ||||
-rw-r--r-- | src/pkg/crypto/rc4/Makefile | 4 | ||||
-rw-r--r-- | src/pkg/crypto/rsa/Makefile | 4 | ||||
-rw-r--r-- | src/pkg/crypto/sha1/Makefile | 4 | ||||
-rw-r--r-- | src/pkg/crypto/subtle/Makefile | 4 | ||||
-rw-r--r-- | src/pkg/crypto/tls/Makefile | 4 | ||||
-rw-r--r-- | src/pkg/crypto/x509/Makefile | 4 |
10 files changed, 20 insertions, 20 deletions
diff --git a/src/pkg/crypto/aes/Makefile b/src/pkg/crypto/aes/Makefile index f7352cb91..07d759b4b 100644 --- a/src/pkg/crypto/aes/Makefile +++ b/src/pkg/crypto/aes/Makefile @@ -2,7 +2,7 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. -include $(GOROOT)/src/Make.$(GOARCH) +include ../../../Make.$(GOARCH) TARG=crypto/aes GOFILES=\ @@ -10,4 +10,4 @@ GOFILES=\ cipher.go\ const.go\ -include $(GOROOT)/src/Make.pkg +include ../../../Make.pkg diff --git a/src/pkg/crypto/block/Makefile b/src/pkg/crypto/block/Makefile index a277d0dd9..25c3483ae 100644 --- a/src/pkg/crypto/block/Makefile +++ b/src/pkg/crypto/block/Makefile @@ -2,7 +2,7 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. -include $(GOROOT)/src/Make.$(GOARCH) +include ../../../Make.$(GOARCH) TARG=crypto/block GOFILES=\ @@ -16,4 +16,4 @@ GOFILES=\ ofb.go\ xor.go\ -include $(GOROOT)/src/Make.pkg +include ../../../Make.pkg diff --git a/src/pkg/crypto/hmac/Makefile b/src/pkg/crypto/hmac/Makefile index 9da53a474..d1a6bfc2b 100644 --- a/src/pkg/crypto/hmac/Makefile +++ b/src/pkg/crypto/hmac/Makefile @@ -2,10 +2,10 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. -include $(GOROOT)/src/Make.$(GOARCH) +include ../../../Make.$(GOARCH) TARG=crypto/hmac GOFILES=\ hmac.go\ -include $(GOROOT)/src/Make.pkg +include ../../../Make.pkg diff --git a/src/pkg/crypto/md5/Makefile b/src/pkg/crypto/md5/Makefile index 53fcf874a..7f37f6a33 100644 --- a/src/pkg/crypto/md5/Makefile +++ b/src/pkg/crypto/md5/Makefile @@ -2,11 +2,11 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. -include $(GOROOT)/src/Make.$(GOARCH) +include ../../../Make.$(GOARCH) TARG=crypto/md5 GOFILES=\ md5.go\ md5block.go\ -include $(GOROOT)/src/Make.pkg +include ../../../Make.pkg diff --git a/src/pkg/crypto/rc4/Makefile b/src/pkg/crypto/rc4/Makefile index 5c7e67fa0..7827b0817 100644 --- a/src/pkg/crypto/rc4/Makefile +++ b/src/pkg/crypto/rc4/Makefile @@ -2,10 +2,10 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. -include $(GOROOT)/src/Make.$(GOARCH) +include ../../../Make.$(GOARCH) TARG=crypto/rc4 GOFILES=\ rc4.go\ -include $(GOROOT)/src/Make.pkg +include ../../../Make.pkg diff --git a/src/pkg/crypto/rsa/Makefile b/src/pkg/crypto/rsa/Makefile index ef0bd7c49..e4d81bc52 100644 --- a/src/pkg/crypto/rsa/Makefile +++ b/src/pkg/crypto/rsa/Makefile @@ -2,11 +2,11 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. -include $(GOROOT)/src/Make.$(GOARCH) +include ../../../Make.$(GOARCH) TARG=crypto/rsa GOFILES=\ rsa.go\ pkcs1v15.go\ -include $(GOROOT)/src/Make.pkg +include ../../../Make.pkg diff --git a/src/pkg/crypto/sha1/Makefile b/src/pkg/crypto/sha1/Makefile index 940e2ff15..f3422dd84 100644 --- a/src/pkg/crypto/sha1/Makefile +++ b/src/pkg/crypto/sha1/Makefile @@ -2,11 +2,11 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. -include $(GOROOT)/src/Make.$(GOARCH) +include ../../../Make.$(GOARCH) TARG=crypto/sha1 GOFILES=\ sha1.go\ sha1block.go\ -include $(GOROOT)/src/Make.pkg +include ../../../Make.pkg diff --git a/src/pkg/crypto/subtle/Makefile b/src/pkg/crypto/subtle/Makefile index 4d245c683..fa5f7ef42 100644 --- a/src/pkg/crypto/subtle/Makefile +++ b/src/pkg/crypto/subtle/Makefile @@ -2,10 +2,10 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. -include $(GOROOT)/src/Make.$(GOARCH) +include ../../../Make.$(GOARCH) TARG=crypto/subtle GOFILES=\ constant_time.go\ -include $(GOROOT)/src/Make.pkg +include ../../../Make.pkg diff --git a/src/pkg/crypto/tls/Makefile b/src/pkg/crypto/tls/Makefile index 0c2d33998..55c9d87cf 100644 --- a/src/pkg/crypto/tls/Makefile +++ b/src/pkg/crypto/tls/Makefile @@ -2,7 +2,7 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. -include $(GOROOT)/src/Make.$(GOARCH) +include ../../../Make.$(GOARCH) TARG=crypto/tls GOFILES=\ @@ -18,4 +18,4 @@ GOFILES=\ ca_set.go\ tls.go\ -include $(GOROOT)/src/Make.pkg +include ../../../Make.pkg diff --git a/src/pkg/crypto/x509/Makefile b/src/pkg/crypto/x509/Makefile index 98bf44acc..b2ecfdc01 100644 --- a/src/pkg/crypto/x509/Makefile +++ b/src/pkg/crypto/x509/Makefile @@ -2,10 +2,10 @@ # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. -include $(GOROOT)/src/Make.$(GOARCH) +include ../../../Make.$(GOARCH) TARG=crypto/x509 GOFILES=\ x509.go\ -include $(GOROOT)/src/Make.pkg +include ../../../Make.pkg |