restructure

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
2018-08-31 05:42:43 +03:00
parent 495175cd96
commit 5bdc873d47
4 changed files with 20 additions and 31 deletions

17
lib/util Normal file
View File

@@ -0,0 +1,17 @@
#!syntax bash
err() {
printf '%s\n' "$*" >&2
}
msg() {
printf '%s\n' "$*"
}
set_default() {
declare -n _vref=$1
if ! [[ "$_vref" ]]; then
_vref=$2
fi
}