[Bash-completion-commits] [SCM] debian-package branch, master, updated. debian/1.3-1-32-g653f34e
David Paleino
dapal at debian.org
Tue Apr 12 10:44:13 UTC 2011
The following commit has been merged in the master branch:
commit 1261dc30e246fdd003b627b6b43107145173ff09
Author: David Paleino <dapal at debian.org>
Date: Wed Apr 6 22:01:10 2011 +0200
Use @helpersdir@
diff --git a/debian/patches/00-change_completions_layout.patch b/debian/patches/00-change_completions_layout.patch
index 1effbb6..d1d0137 100644
--- a/debian/patches/00-change_completions_layout.patch
+++ b/debian/patches/00-change_completions_layout.patch
@@ -66,13 +66,13 @@
+{
+_perlmodules()
+{
-+ COMPREPLY=( $( compgen -P "$prefix" -W "$( $1 ${BASH_SOURCE[0]%/*}/helpers/perl modules $cur )" -- "$cur" ) )
++ COMPREPLY=( $( compgen -P "$prefix" -W "$( $1 @helpersdir@/perl modules $cur )" -- "$cur" ) )
+ __ltrim_colon_completions "$prefix$cur"
+}
+
+_perlfunctions()
+{
-+ COMPREPLY=( $( compgen -P "$prefix" -W "$( ${BASH_SOURCE[0]%/*}/helpers/perl functions $cur )" -- "$cur" ) )
++ COMPREPLY=( $( compgen -P "$prefix" -W "$( @helpersdir@/perl functions $cur )" -- "$cur" ) )
+}
+
+_perl()
--
debian-package
More information about the Bash-completion-commits
mailing list