[Pkg-javascript-commits] [node-lodash] 01/02: Fix build when /bin/sh is set to bash

Paolo Greppi paolog-guest at moszumanska.debian.org
Wed Nov 2 10:38:09 UTC 2016


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

paolog-guest pushed a commit to branch debian/master-2.4
in repository node-lodash.

commit fe688dba75a85e4e06824262a7fcf4bd58538415
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Wed Nov 2 11:07:06 2016 +0100

    Fix build when /bin/sh is set to bash
---
 debian/rules | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/debian/rules b/debian/rules
index 07026b3..db6cc15 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,10 +14,6 @@ override_dh_auto_clean:
 
 override_dh_auto_build:
 	dh_auto_build
-	if [ ! -d debian/build ]; \
-	then mkdir debian/build; \
-	fi; \
-	do \
-		cp lodash.js debian/build/; \
-		$(js-compressor)  -o debian/build/$$(basename lodash .js).min.js lodash.js; \
-	done
+	mkdir -p debian/build
+	cp lodash.js debian/build
+	$(js-compressor)  -o debian/build/$$(basename lodash .js).min.js lodash.js

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



More information about the Pkg-javascript-commits mailing list