1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION="Wrapper scripts that will execute EDITOR or PAGER"
8 HOMEPAGE="http://www.gentoo.org/"
13 KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
19 sed -e 's/@VAR@/EDITOR/g' "${FILESDIR}/${P}.sh" >editor || die
20 sed -e 's/@VAR@/PAGER/g' "${FILESDIR}/${P}.sh" >pager || die
23 -e "s:#!/bin/sh:#!/usr/bin/env sh:" \
24 -e "s: /etc/profile: \"${EPREFIX}/etc/profile\":" \