summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2020-11-13 20:50:37 +1300
committerKent Fredric <kentnl@gentoo.org>2020-11-13 20:51:33 +1300
commit0112abb1935e4582dea0ed1d433528a748826db1 (patch)
tree348dc971e64e318d9f66653d3a1f5cf7300745e7 /app-admin
parentapp-admin/rex: remove proxy-maint from maintainers (diff)
downloadgentoo-0112abb1935e4582dea0ed1d433528a748826db1.tar.gz
gentoo-0112abb1935e4582dea0ed1d433528a748826db1.tar.bz2
gentoo-0112abb1935e4582dea0ed1d433528a748826db1.zip
app-admin/rex: -9999 fix error handling on mkdir
This was previously applied to the non-9999 version, which is utterly silly as this code path can't even be executed unless $PV==9999 And extra silly, because it wasn't fixed in the version where it CAN run. Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Kent Fredric <kentnl@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/rex/rex-9999.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/app-admin/rex/rex-9999.ebuild b/app-admin/rex/rex-9999.ebuild
index 9f5222cbfb74..6a9496d529c0 100644
--- a/app-admin/rex/rex-9999.ebuild
+++ b/app-admin/rex/rex-9999.ebuild
@@ -133,7 +133,7 @@ dzil_src_prep() {
}
dzil_env_setup() {
# NextRelease noise :(
- mkdir -p ~/.dzil/
+ mkdir -p ~/.dzil/ || die "mkdir -p ~/.dzil/ failed"
local user="$(whoami)"
local host="$(hostname)"
printf '[%%User]\nname = %s\nemail = %s' "${user}" "${user}@${host}" >> ~/.dzil/config.ini