[Pkg-javascript-commits] [node-static] 03/03: Sed executable so it uses nodejs shebang

Jérémy Lal kapouer at moszumanska.debian.org
Wed Jan 8 00:22:20 UTC 2014


This is an automated email from the git hooks/post-receive script.

kapouer pushed a commit to branch master
in repository node-static.

commit ca1ebd47243ad617838f0c80601d6f4d407f698d
Author: Jérémy Lal <kapouer at melix.org>
Date:   Wed Jan 8 01:22:13 2014 +0100

    Sed executable so it uses nodejs shebang
---
 debian/rules | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/debian/rules b/debian/rules
index 2d33f6a..7678187 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,3 +2,8 @@
 
 %:
 	dh $@
+
+override_dh_install:
+	dh_install
+	sed -i '1c#!/usr/bin/nodejs' $(CURDIR)/debian/node-static/usr/lib/nodejs/node-static/bin/cli.js
+

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-static.git



More information about the Pkg-javascript-commits mailing list