summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2004-10-31 12:59:10 +0000
committerAaron Walker <ka0ttic@gentoo.org>2004-10-31 12:59:10 +0000
commit946adef841f461fd5e3a477e330e5294ade479d9 (patch)
tree16579ed89d2215dc651e1d2691313635f7a122ed /eclass/bash-completion.eclass
parentAdded a patch to the configure script to honor the "arts" USE flag. Fixes bug... (diff)
downloadhistorical-946adef841f461fd5e3a477e330e5294ade479d9.tar.gz
historical-946adef841f461fd5e3a477e330e5294ade479d9.tar.bz2
historical-946adef841f461fd5e3a477e330e5294ade479d9.zip
die if newins fails
Diffstat (limited to 'eclass/bash-completion.eclass')
-rw-r--r--eclass/bash-completion.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/bash-completion.eclass b/eclass/bash-completion.eclass
index aa41209febea..95758eb2d47d 100644
--- a/eclass/bash-completion.eclass
+++ b/eclass/bash-completion.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/bash-completion.eclass,v 1.3 2004/10/30 23:13:44 ka0ttic Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/bash-completion.eclass,v 1.4 2004/10/31 12:59:10 ka0ttic Exp $
#
# Simple eclass that provides an interface for installing
# contributed (ie not included in bash-completion proper)
@@ -27,6 +27,6 @@ dobashcompletion() {
[ -z "$1" ] && die "usage: dobashcompletion <file> <new file>"
if useq bash-completion ; then
insinto /usr/share/bash-completion
- newins "$1" "${2:-${1##*/}}"
+ newins "$1" "${2:-${1##*/}}" || die "Failed to install $1"
fi
}