------------------------------------------------------------
revno: 661
committer: Matthias Klose <d...@ubuntu.com>
branch nick: openjdk8
timestamp: Mon 2015-11-30 06:26:59 +0100
message:
    * Fix stripping packages (use bash instead of expr substring, Roderich
      Schupp). Closes: #806421.
modified:
  debian/changelog
  debian/rules


--
lp:~openjdk/openjdk/openjdk8
https://code.launchpad.net/~openjdk/openjdk/openjdk8

Your team Debian Java Maintainers is subscribed to branch 
lp:~openjdk/openjdk/openjdk8.
To unsubscribe from this branch go to 
https://code.launchpad.net/~openjdk/openjdk/openjdk8/+edit-subscription
=== modified file 'debian/changelog'
--- debian/changelog	2015-11-26 22:44:10 +0000
+++ debian/changelog	2015-11-30 05:26:59 +0000
@@ -1,3 +1,10 @@
+openjdk-8 (8u72-b05-3) UNRELEASED; urgency=medium
+
+  * Fix stripping packages (use bash instead of expr substring, Roderich
+    Schupp). Closes: #806421.
+
+ -- Matthias Klose <d...@ubuntu.com>  Mon, 30 Nov 2015 06:22:36 +0100
+
 openjdk-8 (8u72-b05-2) unstable; urgency=medium
 
   * Update configury for sparc64 (Steven Chamberlain). Closes: #806202.

=== modified file 'debian/rules'
--- debian/rules	2015-11-26 22:44:10 +0000
+++ debian/rules	2015-11-30 05:26:59 +0000
@@ -8,6 +8,7 @@
 
 dh_version := $(shell dpkg-query -f '$${Version}\n' -W debhelper | sed -n 's/^\(.\).*/\1/p')
 
+# using brace expansion and substring replacements (${var:0:2}).
 SHELL = /bin/bash
 
 vafilt = $(subst $(2)=,,$(filter $(2)=%,$(1)))
@@ -2268,7 +2269,7 @@
 	      --strip-debug $$i; \
 	    objcopy --add-gnu-debuglink $$id $$i; \
 	  else \
-	    d=$(d_dbg)/usr/lib/debug/.build-id/$$(expr substr $$b_id 1 2); \
+	  d=$(d_dbg)/usr/lib/debug/.build-id/$${b_id:0:2}; \
 	    mkdir -p $$d; \
 	    objcopy --only-keep-debug --compress-debug-sections \
 	      $$i $$d/$$b_id.debug; \

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to