[android-platform-tools-base] 02/02: set_classpath.patch: Fix screenshot2 can't find dmlib.jar

Kai-Chung Yan seamlik-guest at moszumanska.debian.org
Sat Aug 6 07:57:40 UTC 2016


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

seamlik-guest pushed a commit to branch master
in repository android-platform-tools-base.

commit f15e6d97c411d07a955af9e372664de8ede608a2
Author: Kai-Chung Yan <seamlikok at gmail.com>
Date:   Sat Aug 6 15:57:19 2016 +0800

    set_classpath.patch: Fix screenshot2 can't find dmlib.jar
---
 debian/patches/set_classpath.patch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/patches/set_classpath.patch b/debian/patches/set_classpath.patch
index d7f325c..1e18a34 100644
--- a/debian/patches/set_classpath.patch
+++ b/debian/patches/set_classpath.patch
@@ -10,13 +10,13 @@ Description: Set Class-Paths
      jarpath="$frameworkdir/$jarfile"
  fi
  
-+classpaths=`cat /usr/share/android-platform-tools-base/screenshot2.classpath`:$jarpath
++classpath="`cat /usr/share/android-platform-tools-base/screenshot2.classpath`:$jarpath"
 +mainclass=com.android.screenshot.Screenshot
 +
  # need to use "java.ext.dirs" because "-jar" causes classpath to be ignored
  # might need more memory, e.g. -Xmx128M
 -exec java -Xmx128M $os_opts $java_debug -Djava.ext.dirs="$frameworkdir" -Djava.library.path="$libdir" -Dcom.android.screenshot.bindir="$progdir" -jar "$jarpath" "$@"
-+exec java -Xmx128M $os_opts $java_debug -Djava.ext.dirs="$frameworkdir" -Djava.library.path="$libdir" -Dcom.android.screenshot.bindir="$progdir" -classpath "$classpaths" "$mainclass" "$@"
++exec java -Xmx128M $os_opts $java_debug -Dcom.android.screenshot.bindir="$progdir" -classpath "$classpath" "$mainclass" "$@"
 --- a/lint/cli/etc/lint
 +++ b/lint/cli/etc/lint
 @@ -65,9 +65,11 @@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/android-platform-tools-base.git



More information about the pkg-java-commits mailing list