[ros-wstool] 01/01: Fix location of completion scripts

Jochen Sprickerhof jspricke-guest at moszumanska.debian.org
Mon Nov 16 17:03:00 UTC 2015


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

jspricke-guest pushed a commit to branch master
in repository ros-wstool.

commit 6707302ebd08756629f7931f6cb64e0bd01803fb
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Mon Nov 16 18:02:34 2015 +0100

    Fix location of completion scripts
---
 .../0001-Fix-location-of-completion-scripts.patch  | 25 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 26 insertions(+)

diff --git a/debian/patches/0001-Fix-location-of-completion-scripts.patch b/debian/patches/0001-Fix-location-of-completion-scripts.patch
new file mode 100644
index 0000000..39654a4
--- /dev/null
+++ b/debian/patches/0001-Fix-location-of-completion-scripts.patch
@@ -0,0 +1,25 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Mon, 16 Nov 2015 17:54:20 +0100
+Subject: Fix location of completion scripts
+
+---
+ setup.py | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/setup.py b/setup.py
+index 2205607..1c352ef 100644
+--- a/setup.py
++++ b/setup.py
+@@ -43,10 +43,10 @@ def _resolve_prefix(prefix, type):
+ def get_data_files(prefix):
+     data_files = []
+     bash_comp_dest = os.path.join(_resolve_prefix(prefix, 'bash_comp'),
+-                                  'etc/bash_completion.d')
++                                  'share/bash-completion/completions')
+     data_files.append((bash_comp_dest, ['completion/wstool-completion.bash']))
+     zsh_comp_dest = os.path.join(_resolve_prefix(prefix, 'zsh_comp'),
+-                                 'share/zsh/site-functions')
++                                 'share/zsh/vendor-completions')
+     data_files.append((zsh_comp_dest, ['completion/_wstool',
+                                        'completion/wstool-completion.bash']))
+     return data_files
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b066ae1
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Fix-location-of-completion-scripts.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ros/ros-wstool.git



More information about the debian-science-commits mailing list