aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/ebuild
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2013-09-15 19:08:16 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2013-09-17 13:22:18 +0100
commit038b4de8fa821ca9eec55dbf1c0dbadd451a3bd0 (patch)
tree8f4db101da8f7e28c4394d25a7aa2ebade352f69 /paludis/repositories/e/ebuild
parentbaba6b52187a65394b02c4e7f757fdba1709e2a0 (diff)
downloadpaludis-038b4de8fa821ca9eec55dbf1c0dbadd451a3bd0.tar.gz
paludis-038b4de8fa821ca9eec55dbf1c0dbadd451a3bd0.tar.xz
Support exvolatile
Diffstat (limited to 'paludis/repositories/e/ebuild')
-rw-r--r--paludis/repositories/e/ebuild/exheres-0/output_functions.bash13
1 files changed, 12 insertions, 1 deletions
diff --git a/paludis/repositories/e/ebuild/exheres-0/output_functions.bash b/paludis/repositories/e/ebuild/exheres-0/output_functions.bash
index a09127ac9..b39d7e58b 100644
--- a/paludis/repositories/e/ebuild/exheres-0/output_functions.bash
+++ b/paludis/repositories/e/ebuild/exheres-0/output_functions.bash
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# vim: set sw=4 sts=4 et :
-# Copyright (c) 2006, 2007, 2008, 2010, 2011 Ciaran McCreesh
+# Copyright (c) 2006, 2007, 2008, 2010, 2011, 2013 Ciaran McCreesh
#
# This file is part of the Paludis package manager. Paludis is free software;
# you can redistribute it and/or modify it under the terms of the GNU General
@@ -54,3 +54,14 @@ expart()
paludis_pipe_command PARTITION "$EAPI" "$@" >/dev/null
}
+exvolatile()
+{
+ [[ "${!PALUDIS_EBUILD_PHASE_VAR}" == "setup" ]] || \
+ die "exvolatile must be called in pkg_setup"
+
+ local x
+ for x in "$@"; do
+ paludis_pipe_command VOLATILE "$EAPI" "$x" >/dev/null
+ done
+}
+