summaryrefslogtreecommitdiff
path: root/libalpine.sh
diff options
context:
space:
mode:
Diffstat (limited to 'libalpine.sh')
-rwxr-xr-xlibalpine.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/libalpine.sh b/libalpine.sh
index 8b68bd7..776031a 100755
--- a/libalpine.sh
+++ b/libalpine.sh
@@ -21,6 +21,11 @@ echon () {
$ECHON "$*$NNL"
}
+# echo if in verbose mode
+vecho() {
+ [ -n "$VERBOSE" ] && echo "$@"
+}
+
init_tmpdir() {
local omask=`umask`
local __tmpd="/tmp/$PROGRAM-${$}-`date +%s`"