diff options
author | Mu Qiao <qiaomuf@gentoo.org> | 2011-05-31 21:27:47 +0800 |
---|---|---|
committer | Petteri Räty <petsku@petteriraty.eu> | 2011-06-01 15:15:21 +0300 |
commit | b9ae4dd215d2a4b1e0f253b10525e3659f5a7cb6 (patch) | |
tree | 8711a88878156823472ef7f01e3d13afec7a1c71 /utils | |
parent | Walker: fix variable definition handling (diff) | |
download | libbash-b9ae4dd215d2a4b1e0f253b10525e3659f5a7cb6.tar.gz libbash-b9ae4dd215d2a4b1e0f253b10525e3659f5a7cb6.tar.bz2 libbash-b9ae4dd215d2a4b1e0f253b10525e3659f5a7cb6.zip |
Utility: add more portage functions
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/isolated-functions.sh | 32 |
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 +} |