[clojure] 01/09: Use immediate assignments in debian/rules when possible

Elana Hashman ehashman-guest at moszumanska.debian.org
Wed Feb 21 22:56:50 UTC 2018


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

ehashman-guest pushed a commit to branch 1.8.x
in repository clojure.

commit 9799fe08716e2563286595d214798ae02bf7f906
Author: Rob Browning <rlb at defaultvalue.org>
Date:   Sat Feb 3 13:36:18 2018 -0600

    Use immediate assignments in debian/rules when possible
---
 debian/rules | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 21f1135..d4a0217 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,9 +1,9 @@
 #!/usr/bin/make -f
 
 SHELL := /bin/bash
-SOURCE = $(shell dpkg-parsechangelog | grep ^Source | sed "s/Source: //")
-VER = $(shell echo $(SOURCE) | sed s/^clojure//)
-JAVA_HOME = /usr/lib/jvm/default-java
+SOURCE := $(shell dpkg-parsechangelog | grep ^Source | sed "s/Source: //")
+VER := $(shell echo $(SOURCE) | sed s/^clojure//)
+JAVA_HOME := /usr/lib/jvm/default-java
 
 %:
 	dh $@ --with maven-repo-helper

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



More information about the pkg-java-commits mailing list