aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorMu Qiao <qiaomuf@gentoo.org>2011-05-31 21:27:47 +0800
committerPetteri Räty <petsku@petteriraty.eu>2011-06-01 15:15:21 +0300
commitb9ae4dd215d2a4b1e0f253b10525e3659f5a7cb6 (patch)
tree8711a88878156823472ef7f01e3d13afec7a1c71 /utils
parentWalker: fix variable definition handling (diff)
downloadlibbash-b9ae4dd215d2a4b1e0f253b10525e3659f5a7cb6.tar.gz
libbash-b9ae4dd215d2a4b1e0f253b10525e3659f5a7cb6.tar.bz2
libbash-b9ae4dd215d2a4b1e0f253b10525e3659f5a7cb6.zip
Utility: add more portage functions
Diffstat (limited to 'utils')
-rwxr-xr-xutils/isolated-functions.sh32
1 files changed, 32 insertions, 0 deletions
diff --git a/utils/isolated-functions.sh b/utils/isolated-functions.sh
index efbf933..d4073dc 100755
--- a/utils/isolated-functions.sh
+++ b/utils/isolated-functions.sh
@@ -20,3 +20,35 @@ EXPORT_FUNCTIONS() {
fi
$__export_funcs_var="$__export_funcs_var $*"
}
+
+use() {
+ echo "use should be called"
+ return 1
+}
+
+useq() {
+ echo "useq should be called"
+ return 1
+}
+
+use_with() {
+ echo "use_with should be called"
+ return 1
+}
+
+use_enable() {
+ echo "use_enable should be called"
+ return 1
+}
+
+eerror() {
+ echo "eerror: $*" >&2
+}
+
+debug-print() {
+ echo "debug-print: $*"
+}
+
+ewarn() {
+ echo "ewarn: $*" >&2
+}