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 /sys-apps/cpi
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 'sys-apps/cpi')
-rw-r--r--sys-apps/cpi/ChangeLog5
-rw-r--r--sys-apps/cpi/cpi-2.7-r1.ebuild (renamed from sys-apps/cpi/cpi-2.7.ebuild)2
2 files changed, 6 insertions, 1 deletions
diff --git a/sys-apps/cpi/ChangeLog b/sys-apps/cpi/ChangeLog
index 82c0f0d9..5ae01bd3 100644
--- a/sys-apps/cpi/ChangeLog
+++ b/sys-apps/cpi/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+*cpi-2.7-r1 (14 Dec 2013)
+
+ 14 Dec 2013; Martin Väth <martin@mvath.de>:
+ Fix sh path
+
*cpi-2.7 (21 Nov 2013)
21 Nov 2013; Martin Väth <martin@mvath.de>:
diff --git a/sys-apps/cpi/cpi-2.7.ebuild b/sys-apps/cpi/cpi-2.7-r1.ebuild
index dcf17082..8d3754e7 100644
--- a/sys-apps/cpi/cpi-2.7.ebuild
+++ b/sys-apps/cpi/cpi-2.7-r1.ebuild
@@ -17,7 +17,7 @@ IUSE=""
src_prepare() {
use prefix || sed -i \
- -e '1s"^#!/usr/bin/env sh$"#!'"$(command -v sh)"'"' \
+ -e '1s"^#!/usr/bin/env sh$"#!'"${EPREFIX}/bin/sh"'"' \
-- bin/cpi || die
epatch_user
}