diff options
Diffstat (limited to 'src/common.sh')
| -rw-r--r-- | src/common.sh | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/common.sh b/src/common.sh deleted file mode 100644 index 51c9827..0000000 --- a/src/common.sh +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright (c) 2016 Egor Tensin <egor@tensin.name> -# This file is part of the "Config file sharing" project. -# For details, see https://github.com/egor-tensin/config-links. -# Distributed under the MIT License. - -dump() { - local prefix="${FUNCNAME[0]}" - [ "${#FUNCNAME[@]}" -gt 1 ] && prefix="${FUNCNAME[1]}" - - local msg - for msg; do - echo "$prefix: $msg" - done -} - -set_dry_run() { - dry_run=1 -} - -is_dry_run() { - test -n "${dry_run+x}" -} |
