diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2007-10-16 17:55:45 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2007-10-16 17:55:45 +0000 |
commit | b2f97315c17db0cde26b9e070ee73fdb8e57290c (patch) | |
tree | e4cb11c6f50905c536ed976941f504e3e5c58281 /libalpine.sh | |
parent | 838cb4b1494ab9c3cfc7c0a952aaf220625758df (diff) | |
download | alpine-conf-b2f97315c17db0cde26b9e070ee73fdb8e57290c.zip |
vecho. -p option for password. thanks to Alexander Poslavsky
Diffstat (limited to 'libalpine.sh')
-rwxr-xr-x | libalpine.sh | 5 |
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`" |