public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Kacper Kowalik" <xarthisius@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-java/hdf-java/
Date: Fri, 22 Jun 2012 07:28:20 +0000 (UTC)	[thread overview]
Message-ID: <1340344892.8b32fdb1c9729aa75875c6960032278df5629d5b.xarthisius@gentoo> (raw)

commit:     8b32fdb1c9729aa75875c6960032278df5629d5b
Author:     W. Trevor King <wking <AT> tremily <DOT> us>
AuthorDate: Fri Jun 22 05:37:10 2012 +0000
Commit:     Kacper Kowalik <xarthisius <AT> gentoo <DOT> org>
CommitDate: Fri Jun 22 06:01:32 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=8b32fdb1

dev-java/hdf-java-2.8: fix hdfview script (quotes and sh-bang)

Add a sh-bang to the beginning of the script, because the user may not
be using a POSIX shell.

Remove redundant, escaped quotes around the java.library.path command
substitution.  With the quotes, the process uses a garbled Java path,
and you see errors like:

  java.lang.UnsatisfiedLinkError: no jhdf5 in java.library.path

---
 dev-java/hdf-java/hdf-java-2.8.ebuild |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dev-java/hdf-java/hdf-java-2.8.ebuild b/dev-java/hdf-java/hdf-java-2.8.ebuild
index e81ff3a..98c9248 100644
--- a/dev-java/hdf-java/hdf-java-2.8.ebuild
+++ b/dev-java/hdf-java/hdf-java-2.8.ebuild
@@ -100,10 +100,11 @@ src_install() {
 		java-pkg_dojar lib/ext/fitsobj.jar
 		java-pkg_dojar lib/jhdfview.jar
 		cat <<-EOF > hdfview
+			#!/bin/sh
 			export CLASSPATH=\$(java-config --classpath hdf-java)
 			\$(java-config --java) \
 				-Xmx1000m \
-				-Djava.library.path=\"\$(java-config --library hdf-java)\" \
+				-Djava.library.path=\$(java-config --library hdf-java) \
 				ncsa.hdf.view.HDFView \
 				-root "${EROOT}" \$*
 		EOF



             reply	other threads:[~2012-06-22  7:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-22  7:28 Kacper Kowalik [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-07-29  7:54 [gentoo-commits] proj/sci:master commit in: dev-java/hdf-java/ Justin Lecher
2015-07-29  7:54 Justin Lecher
2015-04-07  8:56 Justin Lecher
2014-09-18 20:37 Justin Lecher
2012-06-22  7:28 Kacper Kowalik
2012-06-22  7:28 Kacper Kowalik
2012-05-23 23:59 Sebastien Fabbro
2012-05-23 23:59 Sebastien Fabbro
2012-05-20 16:41 Guillaume Horel
2012-04-10 21:16 Guillaume Horel
2011-08-15 17:19 Kacper Kowalik
2011-03-14 10:16 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1340344892.8b32fdb1c9729aa75875c6960032278df5629d5b.xarthisius@gentoo \
    --to=xarthisius@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox