Skip to content

Commit be09862

Browse files
error in bash
1 parent 560c7de commit be09862

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

kgo_updates/meto_update_kgo.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ fi
267267
if [[ $succeeded_xc40 -eq 1 ]]; then
268268
printf "${GREEN}\n\nrsyncing the kgo to xcs.\n${NC}"
269269
host_rsync=$(rose host-select xc)
270-
rsync_com="ssh -Y ${host_rsync} "rsync -av /projects/um1/standard_jobs/${rsync_dir} xcslr0:/common/um1/standard_jobs/${rsync_dir}""
270+
rsync_com="ssh -Y ${host_rsync} 'rsync -av /projects/um1/standard_jobs/${rsync_dir} xcslr0:/common/um1/standard_jobs/${rsync_dir}'"
271271
if [[ $launch_platform == "spice" ]]; then
272272
ssh -Y ${root_user}@localhost "$rsync_com"
273273
rc=$?
@@ -293,7 +293,7 @@ if [[ $succeeded_ex1a -eq 1 ]]; then
293293
host_rsync=$(rose host-select exab)
294294

295295
# rsync to EXZ
296-
rsync_com="ssh -Y ${host_rsync} "rsync -av /common/internal/umdir/standard_jobs/${rsync_dir} login.exz:/common/umdir/standard_jobs/${rsync_dir}""
296+
rsync_com="ssh -Y ${host_rsync} 'rsync -av /common/internal/umdir/standard_jobs/${rsync_dir} login.exz:/common/umdir/standard_jobs/${rsync_dir}'"
297297
if [[ $launch_platform == "spice" ]]; then
298298
ssh -Y ${root_user}@localhost "$rsync_com"
299299
rc=$?
@@ -310,7 +310,7 @@ if [[ $succeeded_ex1a -eq 1 ]]; then
310310

311311
# rsync to EXCD
312312
excd_host=$(rose host-select excd)
313-
rsync_com="ssh -Y ${host_rsync} "rsync -av /common/internal/umdir/standard_jobs/${rsync_dir} ${excd_host}:/common/internal/umdir/standard_jobs/${rsync_dir}""
313+
rsync_com="ssh -Y ${host_rsync} 'rsync -av /common/internal/umdir/standard_jobs/${rsync_dir} ${excd_host}:/common/internal/umdir/standard_jobs/${rsync_dir}'"
314314
if [[ $launch_platform == "spice" ]]; then
315315
ssh -Y ${root_user}@localhost "$rsync_com"
316316
rc=$?

0 commit comments

Comments
 (0)