Bug#688696: maven: [PATCH] Typo in maven bash completion file.
Oleksandr Gavenko
gavenkoa at gmail.com
Mon Sep 24 20:57:34 UTC 2012
Package: maven
Version: 3.0.4-3
Severity: normal
When I try completion after last chars in expr:
$ mvn archetype:generate -D
I got error:
bash: -D: команда не найдена
After debugging issue I found typo - missing back slash. See patch below for
debian/bash_completion.d/maven file:
--- maven 2012-02-06 23:42:07.000000000 +0200
+++ maven-fixed 2012-09-24 23:49:49.000000000 +0300
@@ -548,7 +548,7 @@
{
local cur="${COMP_WORDS[COMP_CWORD]}"
cur="${cur#-D}"
- __mvncomp "archetypeArtifactId= archetypeCatalog= archetypeGroupId= archetypeRepository= archetypeVersion= basedir= goals= interactiveMode="
+ __mvncomp "archetypeArtifactId= archetypeCatalog= archetypeGroupId= archetypeRepository= archetypeVersion= basedir= goals= interactiveMode=" \
"-D" "${cur}"
}
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--
Best regards!
More information about the pkg-java-maintainers
mailing list