summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2013-12-17 22:36:50 +0100
committerMartin Väth <martin@mvath.de>2015-10-11 10:49:04 +0200
commit49226624914539cfc68377dd98a61b7f65bf88d5 (patch)
treeb99a4ac192381954342b40c5defd003c1fb13f38 /app-shells/termcolors-mv
parentBump zsh, simplifying ebuild, improving live ebuild (diff)
downloadmv-49226624914539cfc68377dd98a61b7f65bf88d5.tar.gz
mv-49226624914539cfc68377dd98a61b7f65bf88d5.tar.bz2
mv-49226624914539cfc68377dd98a61b7f65bf88d5.zip
Fix paths of binaries and of sourced scripts
Diffstat (limited to 'app-shells/termcolors-mv')
-rw-r--r--app-shells/termcolors-mv/ChangeLog5
-rw-r--r--app-shells/termcolors-mv/termcolors-mv-3.2-r1.ebuild (renamed from app-shells/termcolors-mv/termcolors-mv-3.2.ebuild)4
2 files changed, 7 insertions, 2 deletions
diff --git a/app-shells/termcolors-mv/ChangeLog b/app-shells/termcolors-mv/ChangeLog
index 4176d892..bf64bb13 100644
--- a/app-shells/termcolors-mv/ChangeLog
+++ b/app-shells/termcolors-mv/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*termcolors-3.2-r1 (17 Dec 2013)
+
+ 17 Dec 2013; Martin Väth <martin@mvath.de>:
+ Fix sh and perl paths
+
*termcolors-3.2 (21 Nov 2013)
21 Nov 2013; Martin Väth <martin@mvath.de>:
diff --git a/app-shells/termcolors-mv/termcolors-mv-3.2.ebuild b/app-shells/termcolors-mv/termcolors-mv-3.2-r1.ebuild
index b34d742f..cfbed2c7 100644
--- a/app-shells/termcolors-mv/termcolors-mv-3.2.ebuild
+++ b/app-shells/termcolors-mv/termcolors-mv-3.2-r1.ebuild
@@ -27,8 +27,8 @@ For zsh, this happens if you use zshrc-mv"
src_prepare() {
use prefix || sed -i \
- -e '1s"^#!/usr/bin/env sh$"#!'"$(command -v sh)"'"' \
- -e '1s"^#!/usr/bin/env perl$"#!'"$(command -v perl)"'"' \
+ -e '1s"^#!/usr/bin/env sh$"#!'"${EPREFIX}/bin/sh"'"' \
+ -e '1s"^#!/usr/bin/env perl$"#!'"${EPREFIX}/usr/bin/perl"'"' \
-- bin/* || die
epatch_user
}