Mail archive
alpine-devel

[alpine-devel] [PATCH 2/2] testing/getmail: fix some old shebang lines

From: Dubiousjim <dubiousjim_at_gmail.com>
Date: Thu, 27 Jun 2013 02:12:25 -0400

To be honest, I think these are irrelevant to the functioning of the program,
since the files in question are imported by the offlineimap app, rather than
being run as scripts. (Not sure why the shebang lines are there at
all...cruft?)
---
 testing/getmail/APKBUILD | 2 ++
 1 file changed, 2 insertions(+)
diff --git a/testing/getmail/APKBUILD b/testing/getmail/APKBUILD
index b5dc763..013c863 100644
--- a/testing/getmail/APKBUILD
+++ b/testing/getmail/APKBUILD
_at_@ -33,6 +33,8 @@ build() {
 package() {
 	cd "$_builddir"
 	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
+	# fix some broken shebang calls
+	sed -i -e "s|#![ ]*/usr/bin/env python2\.3|#!/usr/bin/env python|" $(find $pkgdir -name '*.py')
 }
 
 md5sums="1ca7e1bc034cf5578e8ceb251668962a  getmail-4.39.0.tar.gz"
-- 
1.8.3.1
---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Thu Jun 27 2013 - 02:12:25 UTC