Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 350385
Collapse All | Expand All

(-)a/bin/ebuild-helpers/newins (-4 / +5 lines)
Lines 1-5 Link Here
1
#!/bin/bash
1
#!/bin/bash
2
# Copyright 1999-2010 Gentoo Foundation
2
# Copyright 1999-2011 Gentoo Foundation
3
# Distributed under the terms of the GNU General Public License v2
3
# Distributed under the terms of the GNU General Public License v2
4
4
5
source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh
5
source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh
Lines 22-29 case "$EAPI" in Link Here
22
	*)
22
	*)
23
		cp -P "$1" "$T/$2"
23
		cp -P "$1" "$T/$2"
24
		ret=$?
24
		ret=$?
25
		[[ $ret -ne 0 ]] && helpers_die "${0##*/} failed"
25
		if [[ $ret -ne 0 ]] ; then
26
		exit $ret
26
			helpers_die "${0##*/} failed"
27
			exit $ret
28
		fi
27
		;;
29
		;;
28
esac
30
esac
29
doins "${T}/${2}"
31
doins "${T}/${2}"
30
- 

Return to bug 350385