[SCM] morituri/master: expand the right PYTHON into rip and bash-compgen

js at users.alioth.debian.org js at users.alioth.debian.org
Sun Oct 19 20:09:59 UTC 2014


The following commit has been merged in the master branch:
commit 66a607955036f1dca1d19a9bcdccffa0d850a226
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Sun Feb 3 14:29:42 2013 +0100

    expand the right PYTHON into rip and bash-compgen

diff --git a/bin/rip.in b/bin/rip.in
index 5342e75..ac38958 100755
--- a/bin/rip.in
+++ b/bin/rip.in
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!@PYTHON@
 # -*- Mode: Python -*-
 # vi:si:et:sw=4:sts=4:ts=4
 
diff --git a/configure.ac b/configure.ac
index beb0706..886a527 100644
--- a/configure.ac
+++ b/configure.ac
@@ -48,6 +48,8 @@ AM_CONDITIONAL(HAVE_PYCHECKER, test "x$PYCHECKER" = "xyes")
 
 dnl output stuff
 AC_CONFIG_FILES([bin/rip], [chmod +x bin/rip])
+AC_CONFIG_FILES([etc/bash_completion.d/bash-compgen],
+                [chmod +x etc/bash_completion.d/bash-compgen])
 
 AC_OUTPUT(
 Makefile
diff --git a/etc/bash_completion.d/Makefile.am b/etc/bash_completion.d/Makefile.am
index a56a6c3..be60999 100644
--- a/etc/bash_completion.d/Makefile.am
+++ b/etc/bash_completion.d/Makefile.am
@@ -4,7 +4,7 @@ completion_DATA = rip
 BUILT_SOURCES = rip
 CLEANFILES = rip
 
-EXTRA_DIST = bash-compgen
+EXTRA_DIST = bash-compgen.in bash-compgen
 
 ENTRY = morituri.rip.main.Rip
 
diff --git a/etc/bash_completion.d/bash-compgen b/etc/bash_completion.d/bash-compgen.in
similarity index 99%
rename from etc/bash_completion.d/bash-compgen
rename to etc/bash_completion.d/bash-compgen.in
index bf21563..263250c 100755
--- a/etc/bash_completion.d/bash-compgen
+++ b/etc/bash_completion.d/bash-compgen.in
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!@PYTHON@
 # -*- Mode: Python -*-
 # vi:si:et:sw=4:sts=4:ts=4
 

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list