[packages/nodejs] use sed to fixup shebangs, not carry around huge patch for that

glen glen at pld-linux.org
Mon Apr 8 09:26:55 CEST 2013


commit 536f9f5a6cdff4b206aeb17a8d33fbf93cc79581
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Apr 8 10:26:30 2013 +0300

    use sed to fixup shebangs, not carry around huge patch for that

 nodejs-shared.patch | 502 ----------------------------------------------------
 nodejs.spec         |   3 +
 2 files changed, 3 insertions(+), 502 deletions(-)
---
diff --git a/nodejs.spec b/nodejs.spec
index b83b304..9022077 100644
--- a/nodejs.spec
+++ b/nodejs.spec
@@ -24,6 +24,7 @@ BuildRequires:	python >= 1:2.5.2
 BuildRequires:	python-jsmin
 BuildRequires:	rpm >= 4.4.9-56
 BuildRequires:	rpmbuild(macros) >= 1.219
+BuildRequires:	sed >= 4.0
 BuildRequires:	v8-devel >= 3.15.11.10
 BuildRequires:	zlib-devel
 BuildConflicts:	eio
@@ -75,6 +76,8 @@ This package contains the documentation for nodejs.
 %endif
 %patch5 -p1
 
+grep -r '#!.*env python' -l . | xargs %{__sed} -i -e '1 s,#!.*env python,#!%{__python},'
+
 %build
 # Error: V8 doesn't like ccache. Please set your CC env var to 'gcc'
 CC=${CC#ccache }
diff --git a/nodejs-shared.patch b/nodejs-shared.patch
index e3f1c22..7a1ba91 100644
--- a/nodejs-shared.patch
+++ b/nodejs-shared.patch
@@ -1,4 +1,3 @@
-diff -ur node-v0.10.3-o/Makefile node-v0.10.3/Makefile
 --- node-v0.10.3-o/Makefile	2013-04-03 11:30:57.000000000 -0600
 +++ node-v0.10.3/Makefile	2013-04-03 19:30:22.000000000 -0600
 @@ -54,11 +54,13 @@
@@ -18,8 +17,6 @@ diff -ur node-v0.10.3-o/Makefile node-v0.10.3/Makefile
  
  clean:
  	-rm -rf out/Makefile node node_g out/$(BUILDTYPE)/node blog.html email.md
-Only in node-v0.10.3: Makefile.orig
-diff -ur node-v0.10.3-o/node.gyp node-v0.10.3/node.gyp
 --- node-v0.10.3-o/node.gyp	2013-04-03 11:30:57.000000000 -0600
 +++ node-v0.10.3/node.gyp	2013-04-03 19:30:22.000000000 -0600
 @@ -67,17 +67,35 @@
@@ -90,486 +87,8 @@ diff -ur node-v0.10.3-o/node.gyp node-v0.10.3/node.gyp
        'defines': [
          'NODE_WANT_INTERNALS=1',
          'ARCH="<(target_arch)"',
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/checkerbase.py node-v0.10.3/tools/closure_linter/closure_linter/checkerbase.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/checkerbase.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/checkerbase.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2008 The Closure Linter Authors. All Rights Reserved.
- #
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/checker.py node-v0.10.3/tools/closure_linter/closure_linter/checker.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/checker.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/checker.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2007 The Closure Linter Authors. All Rights Reserved.
- #
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/common/erroraccumulator.py node-v0.10.3/tools/closure_linter/closure_linter/common/erroraccumulator.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/common/erroraccumulator.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/common/erroraccumulator.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2008 The Closure Linter Authors. All Rights Reserved.
- #
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/common/errorhandler.py node-v0.10.3/tools/closure_linter/closure_linter/common/errorhandler.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/common/errorhandler.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/common/errorhandler.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2008 The Closure Linter Authors. All Rights Reserved.
- #
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/common/errorprinter.py node-v0.10.3/tools/closure_linter/closure_linter/common/errorprinter.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/common/errorprinter.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/common/errorprinter.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2008 The Closure Linter Authors. All Rights Reserved.
- #
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/common/error.py node-v0.10.3/tools/closure_linter/closure_linter/common/error.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/common/error.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/common/error.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2007 The Closure Linter Authors. All Rights Reserved.
- #
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/common/filetestcase.py node-v0.10.3/tools/closure_linter/closure_linter/common/filetestcase.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/common/filetestcase.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/common/filetestcase.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2007 The Closure Linter Authors. All Rights Reserved.
- #
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/common/htmlutil.py node-v0.10.3/tools/closure_linter/closure_linter/common/htmlutil.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/common/htmlutil.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/common/htmlutil.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2007 The Closure Linter Authors. All Rights Reserved.
- #
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/common/__init__.py node-v0.10.3/tools/closure_linter/closure_linter/common/__init__.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/common/__init__.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/common/__init__.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1 +1 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/common/lintrunner.py node-v0.10.3/tools/closure_linter/closure_linter/common/lintrunner.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/common/lintrunner.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/common/lintrunner.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2008 The Closure Linter Authors. All Rights Reserved.
- #
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/common/matcher.py node-v0.10.3/tools/closure_linter/closure_linter/common/matcher.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/common/matcher.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/common/matcher.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2007 The Closure Linter Authors. All Rights Reserved.
- #
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/common/position.py node-v0.10.3/tools/closure_linter/closure_linter/common/position.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/common/position.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/common/position.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2008 The Closure Linter Authors. All Rights Reserved.
- #
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/common/simplefileflags.py node-v0.10.3/tools/closure_linter/closure_linter/common/simplefileflags.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/common/simplefileflags.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/common/simplefileflags.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2008 The Closure Linter Authors. All Rights Reserved.
- #
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/common/tokenizer.py node-v0.10.3/tools/closure_linter/closure_linter/common/tokenizer.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/common/tokenizer.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/common/tokenizer.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2007 The Closure Linter Authors. All Rights Reserved.
- #
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/common/tokens.py node-v0.10.3/tools/closure_linter/closure_linter/common/tokens.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/common/tokens.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/common/tokens.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2008 The Closure Linter Authors. All Rights Reserved.
- #
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/ecmalintrules.py node-v0.10.3/tools/closure_linter/closure_linter/ecmalintrules.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/ecmalintrules.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/ecmalintrules.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2008 The Closure Linter Authors. All Rights Reserved.
- #
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/ecmametadatapass.py node-v0.10.3/tools/closure_linter/closure_linter/ecmametadatapass.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/ecmametadatapass.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/ecmametadatapass.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2010 The Closure Linter Authors. All Rights Reserved.
- #
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/error_fixer.py node-v0.10.3/tools/closure_linter/closure_linter/error_fixer.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/error_fixer.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/error_fixer.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2007 The Closure Linter Authors. All Rights Reserved.
- #
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/errorrules.py node-v0.10.3/tools/closure_linter/closure_linter/errorrules.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/errorrules.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/errorrules.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2010 The Closure Linter Authors. All Rights Reserved.
- #
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/errors.py node-v0.10.3/tools/closure_linter/closure_linter/errors.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/errors.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/errors.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2007 The Closure Linter Authors. All Rights Reserved.
- #
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/fixjsstyle.py node-v0.10.3/tools/closure_linter/closure_linter/fixjsstyle.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/fixjsstyle.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/fixjsstyle.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2007 The Closure Linter Authors. All Rights Reserved.
- #
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/fixjsstyle_test.py node-v0.10.3/tools/closure_linter/closure_linter/fixjsstyle_test.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/fixjsstyle_test.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/fixjsstyle_test.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2008 The Closure Linter Authors. All Rights Reserved.
- #
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/full_test.py node-v0.10.3/tools/closure_linter/closure_linter/full_test.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/full_test.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/full_test.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2007 The Closure Linter Authors. All Rights Reserved.
- #
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/gjslint.py node-v0.10.3/tools/closure_linter/closure_linter/gjslint.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/gjslint.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/gjslint.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2007 The Closure Linter Authors. All Rights Reserved.
- #
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/indentation.py node-v0.10.3/tools/closure_linter/closure_linter/indentation.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/indentation.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/indentation.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2010 The Closure Linter Authors. All Rights Reserved.
- #
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/__init__.py node-v0.10.3/tools/closure_linter/closure_linter/__init__.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/__init__.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/__init__.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1 +1 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/javascriptlintrules.py node-v0.10.3/tools/closure_linter/closure_linter/javascriptlintrules.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/javascriptlintrules.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/javascriptlintrules.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2008 The Closure Linter Authors. All Rights Reserved.
- #
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/javascriptstatetracker.py node-v0.10.3/tools/closure_linter/closure_linter/javascriptstatetracker.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/javascriptstatetracker.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/javascriptstatetracker.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2008 The Closure Linter Authors. All Rights Reserved.
- #
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/javascriptstatetracker_test.py node-v0.10.3/tools/closure_linter/closure_linter/javascriptstatetracker_test.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/javascriptstatetracker_test.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/javascriptstatetracker_test.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2010 The Closure Linter Authors. All Rights Reserved.
- #
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/javascripttokenizer.py node-v0.10.3/tools/closure_linter/closure_linter/javascripttokenizer.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/javascripttokenizer.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/javascripttokenizer.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2007 The Closure Linter Authors. All Rights Reserved.
- #
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/javascripttokens.py node-v0.10.3/tools/closure_linter/closure_linter/javascripttokens.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/javascripttokens.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/javascripttokens.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2008 The Closure Linter Authors. All Rights Reserved.
- #
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/statetracker.py node-v0.10.3/tools/closure_linter/closure_linter/statetracker.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/statetracker.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/statetracker.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2007 The Closure Linter Authors. All Rights Reserved.
- #
-diff -ur node-v0.10.3-o/tools/closure_linter/closure_linter/tokenutil.py node-v0.10.3/tools/closure_linter/closure_linter/tokenutil.py
---- node-v0.10.3-o/tools/closure_linter/closure_linter/tokenutil.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/closure_linter/tokenutil.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2007 The Closure Linter Authors. All Rights Reserved.
- #
-diff -ur node-v0.10.3-o/tools/closure_linter/gflags.py node-v0.10.3/tools/closure_linter/gflags.py
---- node-v0.10.3-o/tools/closure_linter/gflags.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/gflags.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- 
- # Copyright (c) 2007, Google Inc.
- # All rights reserved.
-diff -ur node-v0.10.3-o/tools/closure_linter/setup.py node-v0.10.3/tools/closure_linter/setup.py
---- node-v0.10.3-o/tools/closure_linter/setup.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/closure_linter/setup.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2010 The Closure Linter Authors. All Rights Reserved.
- #
-diff -ur node-v0.10.3-o/tools/genv8constants.py node-v0.10.3/tools/genv8constants.py
---- node-v0.10.3-o/tools/genv8constants.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/genv8constants.py	2013-04-03 19:30:22.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- 
- #
- # genv8constants.py output_file libv8_base.a
-diff -ur node-v0.10.3-o/tools/gyp/gyp node-v0.10.3/tools/gyp/gyp
---- node-v0.10.3-o/tools/gyp/gyp	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/gyp/gyp	2013-04-03 19:30:39.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- 
- # Copyright (c) 2009 Google Inc. All rights reserved.
- # Use of this source code is governed by a BSD-style license that can be
-diff -ur node-v0.10.3-o/tools/gyp/gyptest.py node-v0.10.3/tools/gyp/gyptest.py
---- node-v0.10.3-o/tools/gyp/gyptest.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/gyp/gyptest.py	2013-04-03 19:30:39.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- 
- # Copyright (c) 2012 Google Inc. All rights reserved.
- # Use of this source code is governed by a BSD-style license that can be
-diff -ur node-v0.10.3-o/tools/gyp/pylib/gyp/common_test.py node-v0.10.3/tools/gyp/pylib/gyp/common_test.py
---- node-v0.10.3-o/tools/gyp/pylib/gyp/common_test.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/gyp/pylib/gyp/common_test.py	2013-04-03 19:30:39.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- 
- # Copyright (c) 2012 Google Inc. All rights reserved.
- # Use of this source code is governed by a BSD-style license that can be
-diff -ur node-v0.10.3-o/tools/gyp/pylib/gyp/easy_xml_test.py node-v0.10.3/tools/gyp/pylib/gyp/easy_xml_test.py
---- node-v0.10.3-o/tools/gyp/pylib/gyp/easy_xml_test.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/gyp/pylib/gyp/easy_xml_test.py	2013-04-03 19:30:39.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- 
- # Copyright (c) 2011 Google Inc. All rights reserved.
- # Use of this source code is governed by a BSD-style license that can be
-diff -ur node-v0.10.3-o/tools/gyp/pylib/gyp/generator/msvs_test.py node-v0.10.3/tools/gyp/pylib/gyp/generator/msvs_test.py
---- node-v0.10.3-o/tools/gyp/pylib/gyp/generator/msvs_test.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/gyp/pylib/gyp/generator/msvs_test.py	2013-04-03 19:30:39.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- # Copyright (c) 2012 Google Inc. All rights reserved.
- # Use of this source code is governed by a BSD-style license that can be
- # found in the LICENSE file.
-diff -ur node-v0.10.3-o/tools/gyp/pylib/gyp/generator/ninja_test.py node-v0.10.3/tools/gyp/pylib/gyp/generator/ninja_test.py
---- node-v0.10.3-o/tools/gyp/pylib/gyp/generator/ninja_test.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/gyp/pylib/gyp/generator/ninja_test.py	2013-04-03 19:30:39.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- 
- # Copyright (c) 2012 Google Inc. All rights reserved.
- # Use of this source code is governed by a BSD-style license that can be
-diff -ur node-v0.10.3-o/tools/gyp/pylib/gyp/__init__.py node-v0.10.3/tools/gyp/pylib/gyp/__init__.py
---- node-v0.10.3-o/tools/gyp/pylib/gyp/__init__.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/gyp/pylib/gyp/__init__.py	2013-04-03 19:30:39.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- 
- # Copyright (c) 2012 Google Inc. All rights reserved.
- # Use of this source code is governed by a BSD-style license that can be
-diff -ur node-v0.10.3-o/tools/gyp/pylib/gyp/mac_tool.py node-v0.10.3/tools/gyp/pylib/gyp/mac_tool.py
---- node-v0.10.3-o/tools/gyp/pylib/gyp/mac_tool.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/gyp/pylib/gyp/mac_tool.py	2013-04-03 19:30:39.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- # Copyright (c) 2012 Google Inc. All rights reserved.
- # Use of this source code is governed by a BSD-style license that can be
- # found in the LICENSE file.
-diff -ur node-v0.10.3-o/tools/gyp/pylib/gyp/MSVSSettings_test.py node-v0.10.3/tools/gyp/pylib/gyp/MSVSSettings_test.py
---- node-v0.10.3-o/tools/gyp/pylib/gyp/MSVSSettings_test.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/gyp/pylib/gyp/MSVSSettings_test.py	2013-04-03 19:30:39.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- 
- # Copyright (c) 2012 Google Inc. All rights reserved.
- # Use of this source code is governed by a BSD-style license that can be
-diff -ur node-v0.10.3-o/tools/gyp/pylib/gyp/sun_tool.py node-v0.10.3/tools/gyp/pylib/gyp/sun_tool.py
---- node-v0.10.3-o/tools/gyp/pylib/gyp/sun_tool.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/gyp/pylib/gyp/sun_tool.py	2013-04-03 19:30:39.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- # Copyright (c) 2011 Google Inc. All rights reserved.
- # Use of this source code is governed by a BSD-style license that can be
- # found in the LICENSE file.
-diff -ur node-v0.10.3-o/tools/gyp/pylib/gyp/win_tool.py node-v0.10.3/tools/gyp/pylib/gyp/win_tool.py
---- node-v0.10.3-o/tools/gyp/pylib/gyp/win_tool.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/gyp/pylib/gyp/win_tool.py	2013-04-03 19:30:39.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- 
- # Copyright (c) 2012 Google Inc. All rights reserved.
- # Use of this source code is governed by a BSD-style license that can be
-diff -ur node-v0.10.3-o/tools/gyp/setup.py node-v0.10.3/tools/gyp/setup.py
---- node-v0.10.3-o/tools/gyp/setup.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/gyp/setup.py	2013-04-03 19:30:39.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- 
- # Copyright (c) 2009 Google Inc. All rights reserved.
- # Use of this source code is governed by a BSD-style license that can be
-diff -ur node-v0.10.3-o/tools/gyp/tools/graphviz.py node-v0.10.3/tools/gyp/tools/graphviz.py
---- node-v0.10.3-o/tools/gyp/tools/graphviz.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/gyp/tools/graphviz.py	2013-04-03 19:30:39.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- 
- # Copyright (c) 2011 Google Inc. All rights reserved.
- # Use of this source code is governed by a BSD-style license that can be
-diff -ur node-v0.10.3-o/tools/gyp/tools/pretty_gyp.py node-v0.10.3/tools/gyp/tools/pretty_gyp.py
---- node-v0.10.3-o/tools/gyp/tools/pretty_gyp.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/gyp/tools/pretty_gyp.py	2013-04-03 19:30:39.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- 
- # Copyright (c) 2012 Google Inc. All rights reserved.
- # Use of this source code is governed by a BSD-style license that can be
-diff -ur node-v0.10.3-o/tools/gyp/tools/pretty_sln.py node-v0.10.3/tools/gyp/tools/pretty_sln.py
---- node-v0.10.3-o/tools/gyp/tools/pretty_sln.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/gyp/tools/pretty_sln.py	2013-04-03 19:30:39.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- 
- # Copyright (c) 2012 Google Inc. All rights reserved.
- # Use of this source code is governed by a BSD-style license that can be
-diff -ur node-v0.10.3-o/tools/gyp/tools/pretty_vcproj.py node-v0.10.3/tools/gyp/tools/pretty_vcproj.py
---- node-v0.10.3-o/tools/gyp/tools/pretty_vcproj.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/gyp/tools/pretty_vcproj.py	2013-04-03 19:30:39.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- 
- # Copyright (c) 2012 Google Inc. All rights reserved.
- # Use of this source code is governed by a BSD-style license that can be
-diff -ur node-v0.10.3-o/tools/gyp_node node-v0.10.3/tools/gyp_node
---- node-v0.10.3-o/tools/gyp_node	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/gyp_node	2013-04-03 19:30:39.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- import glob
- import os
- import shlex
-diff -ur node-v0.10.3-o/tools/install.py node-v0.10.3/tools/install.py
 --- node-v0.10.3-o/tools/install.py	2013-04-03 11:30:57.000000000 -0600
 +++ node-v0.10.3/tools/install.py	2013-04-03 19:31:32.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- 
- import errno
- 
 @@ -119,7 +119,9 @@
      assert(0) # unhandled action type
  
@@ -599,24 +118,3 @@ diff -ur node-v0.10.3-o/tools/install.py node-v0.10.3/tools/install.py
    cmd = args[1] if len(args) > 1 else 'install'
    if cmd == 'install': return files(install)
    if cmd == 'uninstall': return files(uninstall)
-Only in node-v0.10.3/tools: install.py~
-Only in node-v0.10.3/tools: install.py.orig
-Only in node-v0.10.3/tools: install.py.rej~
-diff -ur node-v0.10.3-o/tools/js2c.py node-v0.10.3/tools/js2c.py
---- node-v0.10.3-o/tools/js2c.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/js2c.py	2013-04-03 19:30:39.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2006-2008 the V8 project authors. All rights reserved.
- # Redistribution and use in source and binary forms, with or without
-diff -ur node-v0.10.3-o/tools/test.py node-v0.10.3/tools/test.py
---- node-v0.10.3-o/tools/test.py	2013-04-03 11:30:57.000000000 -0600
-+++ node-v0.10.3/tools/test.py	2013-04-03 19:30:39.000000000 -0600
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/python
- #
- # Copyright 2008 the V8 project authors. All rights reserved.
- # Redistribution and use in source and binary forms, with or without
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nodejs.git/commitdiff/536f9f5a6cdff4b206aeb17a8d33fbf93cc79581



More information about the pld-cvs-commit mailing list