[Pkg-javascript-commits] [acorn] 02/02: Use node instead of nodejs now

Julien Puydt julien.puydt at laposte.net
Fri Aug 18 14:07:22 UTC 2017


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

jpuydt-guest pushed a commit to branch master
in repository acorn.

commit 4c3089e954073aad5b3f333603a9ef78f65cede6
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Fri Aug 18 16:07:19 2017 +0200

    Use node instead of nodejs now
---
 debian/changelog | 1 +
 debian/rules     | 3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2a20a00..fd44a4a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 acorn (5.1.1+ds1-2) UNRELEASED; urgency=medium
 
   * Bump std-ver to 4.0.1.
+  * Use node instead of nodejs now.
 
  -- Julien Puydt <julien.puydt at laposte.net>  Fri, 18 Aug 2017 16:02:05 +0200
 
diff --git a/debian/rules b/debian/rules
index 0cdc79a..221640a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,8 +21,7 @@ override_dh_auto_build: dist $(TARGETS) $(MANPAGES)
 	mv dist/bin/acorn.js dist/bin/acorn
 	chmod a+x dist/bin/acorn
 	sed -i dist/bin/acorn -e 's/\$$//g'
-	sed -i dist/bin/acorn -e 's/node /nodejs /g'
-	sed -i dist/bin/acorn -e 's|"use strict";|#!/usr/bin/nodejs|'
+	sed -i dist/bin/acorn -e 's|"use strict";|#!/usr/bin/node|'
 	# recreate symlink
 	ln -s dist/index.js acorn.js
 	ln -s dist/index.js index.js

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



More information about the Pkg-javascript-commits mailing list