[Pkg-javascript-commits] [SCM] javascript code quality tool that aims to catch basic errors branch, master, updated. df5594ab990c39d1d4912bdfb1de6e2ead770a0c

Paul Tagliamonte tag at pault.ag
Sun Jul 15 14:37:33 UTC 2012


The following commit has been merged in the master branch:
commit df5594ab990c39d1d4912bdfb1de6e2ead770a0c
Author: Paul Tagliamonte <tag at pault.ag>
Date:   Sun Jul 15 10:40:02 2012 -0400

    Adding in the adjusted hashbang

diff --git a/debian/patches/0001-adjust-hashbang.patch b/debian/patches/0001-adjust-hashbang.patch
new file mode 100644
index 0000000..d9159f2
--- /dev/null
+++ b/debian/patches/0001-adjust-hashbang.patch
@@ -0,0 +1,16 @@
+Description: Fix the "broken" hash-bang for nodejs apps.
+ Since nodejs doesn't provide the same binary as upstream ("node"), we must
+ adjust all the hash-bangs of the scripts shipped with this package.
+Forwarded: not-needed
+Author: Paul Tagliamonte <paultag at debian.org>
+
+diff --git a/bin/jslint.js b/bin/jslint.js
+index 9bb21e0..e28b859 100755
+--- a/bin/jslint.js
++++ b/bin/jslint.js
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env node
++#!/usr/bin/env nodejs
+ 
+ var linter = require("../lib/linter");
+ var reporter = require("../lib/reporter");
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..1b9b315
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-adjust-hashbang.patch

-- 
javascript code quality tool that aims to catch basic errors



More information about the Pkg-javascript-commits mailing list