File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
share/github-backup-utils Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,11 @@ export_tool_available() {
30
30
}
31
31
32
32
ghe_ssh_mssql () {
33
- ghe-ssh $opts $ssh_config_file_opt " $GHE_MSSQL_PRIMARY_HOST " " $@ "
33
+ ghe-ssh " $opts " " $ssh_config_file_opt " " $GHE_MSSQL_PRIMARY_HOST " " $@ "
34
34
}
35
35
36
36
cleanup () {
37
- rm -rf $tempdir
37
+ rm -rf " $tempdir "
38
38
}
39
39
trap ' cleanup' EXIT INT
40
40
@@ -69,10 +69,10 @@ add_minute() {
69
69
# Expect date string in the format of yyyymmddTHHMMSS
70
70
# Here parse date differently depending on GNU Linux vs BSD MacOS
71
71
if date -v -1d > /dev/null 2>&1 ; then
72
- echo " $( date -v +$2 M -ujf' %Y%m%dT%H%M%S' $1 +%Y%m%dT%H%M%S) "
72
+ date -v +" $2 " M -ujf' %Y%m%dT%H%M%S' " $1 " +%Y%m%dT%H%M%S
73
73
else
74
74
dt=$1
75
- echo " $( date -u ' +%Y%m%dT%H%M%S' -d " ${dt: 0: 8} ${dt: 9: 2} :${dt: 11: 2} :${dt: 13: 2} $2 minutes" ) "
75
+ date -u ' +%Y%m%dT%H%M%S' -d " ${dt: 0: 8} ${dt: 9: 2} :${dt: 11: 2} :${dt: 13: 2} $2 minutes"
76
76
fi
77
77
}
78
78
You can’t perform that action at this time.
0 commit comments