summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-11-19 15:45:59 +0100
committerMichał Górny <mgorny@gentoo.org>2015-11-19 15:54:17 +0100
commitdc54e9c02602a5e16ce472f4a3a6f1321fa2d810 (patch)
treee8e82611f28833c1ec0be2945351297da7bd0140 /eclass/git-r3.eclass
parentvcs-snapshot.eclass: Use a cleaner and more precise example (diff)
downloadgentoo-dc54e9c02602a5e16ce472f4a3a6f1321fa2d810.tar.gz
gentoo-dc54e9c02602a5e16ce472f4a3a6f1321fa2d810.tar.bz2
gentoo-dc54e9c02602a5e16ce472f4a3a6f1321fa2d810.zip
git-r3.eclass: Remove redundant ||die in subshell
Diffstat (limited to 'eclass/git-r3.eclass')
-rw-r--r--eclass/git-r3.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass
index 0ee70bc4a51a..c489234854bd 100644
--- a/eclass/git-r3.eclass
+++ b/eclass/git-r3.eclass
@@ -314,7 +314,7 @@ _git-r3_set_gitdir() {
if [[ ! -d ${EGIT3_STORE_DIR} ]]; then
(
addwrite /
- mkdir -p "${EGIT3_STORE_DIR}" || die
+ mkdir -p "${EGIT3_STORE_DIR}"
) || die "Unable to create ${EGIT3_STORE_DIR}"
fi