]> Cypherpunks repositories - gostls13.git/commitdiff
syscall: prefer PATH environment variable in bootstrap scripts
authorMikio Hara <mikioh.mikioh@gmail.com>
Mon, 20 May 2013 14:18:52 +0000 (23:18 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Mon, 20 May 2013 14:18:52 +0000 (23:18 +0900)
R=golang-dev, dave, iant
CC=golang-dev
https://golang.org/cl/9575043

src/pkg/syscall/mksyscall.pl
src/pkg/syscall/mksyscall_windows.pl
src/pkg/syscall/mksysctl_openbsd.pl
src/pkg/syscall/mksysnum_darwin.pl
src/pkg/syscall/mksysnum_freebsd.pl
src/pkg/syscall/mksysnum_linux.pl
src/pkg/syscall/mksysnum_netbsd.pl
src/pkg/syscall/mksysnum_openbsd.pl

index df47958eae5294eacfed83d652db3d998f044fad..4a814ca5cfb00e870151b8c8b98912c934d4c403 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 # Copyright 2009 The Go Authors. All rights reserved.
 # Use of this source code is governed by a BSD-style
 # license that can be found in the LICENSE file.
index 0e015cb707522d8aae9a24054b5226d036394111..65d6efc2058f434ba9f3126e97f59f4e28a1201d 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 # Copyright 2009 The Go Authors. All rights reserved.
 # Use of this source code is governed by a BSD-style
 # license that can be found in the LICENSE file.
index 8e5ccaac269854d276a5845a566a203b4e792b65..c2e2ea925dc584cc2ce4aa0f6b0ecfa4ffc176dd 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 
 # Copyright 2011 The Go Authors. All rights reserved.
 # Use of this source code is governed by a BSD-style
index fd4375b2f956e1e1ff4ed5a8962ae82ecf6619bb..e3470435d2512d702ae13b3a05bcf03f7563c566 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 # Copyright 2009 The Go Authors. All rights reserved.
 # Use of this source code is governed by a BSD-style
 # license that can be found in the LICENSE file.
index 54872b2f480c3c3e7676458adb655356d2042db9..5c156338ee8d7c0586b92a4a5e2fcf6fd699a096 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 # Copyright 2009 The Go Authors. All rights reserved.
 # Use of this source code is governed by a BSD-style
 # license that can be found in the LICENSE file.
index d11666a1ddf9d214b923be7d103286d45ac1a4d8..c7e5cf73aa7fbe517c1a73218685ef20a3852acb 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 # Copyright 2009 The Go Authors. All rights reserved.
 # Use of this source code is governed by a BSD-style
 # license that can be found in the LICENSE file.
index a300810ba59388401ad558b5699bab811c2ef597..f1534ed5845f82411c75bae8ae8136e732218665 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 # Copyright 2009 The Go Authors. All rights reserved.
 # Use of this source code is governed by a BSD-style
 # license that can be found in the LICENSE file.
index e041888eae394760766cb9badac338731d042674..ad1ccc12ac2ce1f3687f38ab92b8a9476cbd536b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/env perl
 # Copyright 2009 The Go Authors. All rights reserved.
 # Use of this source code is governed by a BSD-style
 # license that can be found in the LICENSE file.