[SCM] UNNAMED PROJECT branch, master, updated. 0.31-61-g616bd5d

Niels Thykier nthykier at alioth.debian.org
Sat Apr 16 07:50:34 UTC 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "UNNAMED PROJECT".

The branch, master has been updated
       via  616bd5d77db6fd3f3d51ee8057feaf5c83e99eca (commit)
      from  3c490bbf3f5866e894f5099bf9fa765f7e45545b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 616bd5d77db6fd3f3d51ee8057feaf5c83e99eca
Author: Niels Thykier <niels at thykier.net>
Date:   Sat Apr 16 09:47:42 2011 +0200

    Correct path for jh_classpath when it is not given a jar arg

-----------------------------------------------------------------------

Summary of changes:
 jh_classpath |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/jh_classpath b/jh_classpath
index 8757a12..7141718 100755
--- a/jh_classpath
+++ b/jh_classpath
@@ -32,6 +32,9 @@ if [ "$ARGC" == "0" ]; then
 	for p in `findpackages`; do
 		if [ -f "debian/$p.classpath" ]; then
 			cat "debian/$p.classpath" | while read jar cpath; do
+				if [ ! -f "$jar" ] ; then
+                                    jar="debian/$p/$jar"
+                                fi
 				if [ -n "$VERBOSE" ]; then
 					echo "Setting classpath on $jar to $cpath"
 				fi
@@ -43,6 +46,9 @@ if [ "$ARGC" == "0" ]; then
 			done
 		elif [ -f "debian/classpath" ]; then
 			cat "debian/classpath" | while read jar cpath; do
+				if [ ! -f "$jar" ] ; then
+                                    jar="debian/$p/$jar"
+                                fi
 				if [ -n "$VERBOSE" ]; then
 					echo "Setting classpath on $jar to $cpath"
 				fi


hooks/post-receive
-- 
UNNAMED PROJECT



More information about the pkg-java-commits mailing list