We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 134a61b commit 29b4daeCopy full SHA for 29b4dae
share/github-backup-utils/ghe-backup-config
@@ -21,28 +21,6 @@ YELLOW='\033[0;33m'
21
BLUE='\033[0;34m'
22
NC='\033[0m' # No Colo# Logging display and formatting functions
23
24
-# If we don't have a readlink command, parse ls -l output.
25
-if ! type readlink 1>/dev/null 2>&1; then
26
- readlink() {
27
- local ret=0 f=''
28
- while [ $# -gt 0 ]; do
29
- f="$1"
30
- shift 1
31
-
32
- [ ! -e "$f" ] && [ ! -h "$f" ] && {
33
- ret=1
34
- continue
35
- }
36
37
- # shellcheck disable=SC2012 # In this specific scenario, this method is OK
38
- f="$(ls -ld "$f")"
39
- echo "${f//*-> /}"
40
- done
41
42
- return $ret
43
44
-fi
45
46
# Log a message to stdout
47
log_level() {
48
local level=$1
0 commit comments