File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 19
19
20
20
CONFIG=" $GHE_REMOTE_DATA_USER_DIR /common/cluster.conf"
21
21
22
- hosts=$( git config -f $CONFIG --get-regexp cluster.* .hostname | cut -d ' ' -f2)
22
+ hosts=$( git config -f " $CONFIG " --get-regexp cluster.* .hostname | cut -d ' ' -f2)
23
23
24
24
if $PRINT_UUIDS ; then
25
25
CONFIG=" $GHE_REMOTE_DATA_USER_DIR /common/cluster.conf"
26
26
27
- hosts=$( git config -f $CONFIG --get-regexp cluster.* .hostname | cut -d ' ' -f2)
27
+ hosts=$( git config -f " $CONFIG " --get-regexp cluster.* .hostname | cut -d ' ' -f2)
28
28
29
29
if [ -z " $hosts " ]; then
30
30
# Mimic `ghe-cluster-each $role -u`
@@ -34,8 +34,8 @@ if $PRINT_UUIDS; then
34
34
"
35
35
else
36
36
for hostname in $hosts ; do
37
- [ -n " $ROLE " ] && [ " $( git config -f $CONFIG cluster.$hostname . $ROLE -server) " != " true" ] && continue
38
- echo $hostname
37
+ [ -n " $ROLE " ] && [ " $( git config -f " $CONFIG " cluster." $hostname " . " $ROLE " -server) " != " true" ] && continue
38
+ echo " $hostname "
39
39
done
40
40
fi
41
- fi
41
+ fi
You can’t perform that action at this time.
0 commit comments