Public bug reported:
System:
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Package:
svnkit:
Installed: 1.8.14-1
Candidate: 1.8.14-1
All variables in /usr/share/svnkit/jsvn have an escaped $ sign:
==== snip ====
BASEDIR="`dirname "\$0"`/.."
BASEDIR=`(cd "\$BASEDIR"; pwd)`
cygwin=false;
darwin=false;
case "`uname`" in
CYGWIN*) cygwin=true ;;
Darwin*) darwin=true
if [ -z "\$JAVA_VERSION" ] ; then
JAVA_VERSION="CurrentJDK"
(...)
==== snap ====
What happens:
=== snip ====
user@ubuntu:~>jsvn
/usr/bin/jsvn: 29: /usr/bin/jsvn: $cygwin: not found
Error: JAVA_HOME is not defined correctly.
We cannot execute $JAVACMD
==== snap ====
What should happen:
==== snip ====
user@ubuntu:~>jsvn
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
where options include:
-d32 use a 32-bit data model if available
(...)
==== snap ====
The local fix ist to run "sed -i 's@\\@@g' /usr/share/svnkit/jsvn" as
root, but I guess this is somehow broken in the build process.
Best regards,
Christoph
** Affects: svnkit (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1823704
Title:
jsvn script is broken
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/svnkit/+bug/1823704/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs