projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84f6208
)
newins in EAPI 4 should actually install the file. Fixes bug 350385.
author
Ulrich Mueller
<ulm@gentoo.org>
Sun, 2 Jan 2011 16:28:48 +0000
(17:28 +0100)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 2 Jan 2011 20:59:34 +0000
(12:59 -0800)
bin/ebuild-helpers/newins
patch
|
blob
|
history
diff --git
a/bin/ebuild-helpers/newins
b/bin/ebuild-helpers/newins
index 9da212fb5ff2c58b5464bdbe481b976f5ab17839..065477f471307f041d89899de72ece96179085f9 100755
(executable)
--- a/
bin/ebuild-helpers/newins
+++ b/
bin/ebuild-helpers/newins
@@
-1,5
+1,5
@@
#!/bin/bash
-# Copyright 1999-201
0
Gentoo Foundation
+# Copyright 1999-201
1
Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
source "${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"/isolated-functions.sh
@@
-22,8
+22,10
@@
case "$EAPI" in
*)
cp -P "$1" "$T/$2"
ret=$?
- [[ $ret -ne 0 ]] && helpers_die "${0##*/} failed"
- exit $ret
+ if [[ $ret -ne 0 ]] ; then
+ helpers_die "${0##*/} failed"
+ exit $ret
+ fi
;;
esac
doins "${T}/${2}"