Skip to content

Commit 2d4fc45

Browse files
committed
nightly-tarball scripts: fix quoting
Signed-off-by: Jeff Squyres <[email protected]>
1 parent b385ac4 commit 2d4fc45

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

contrib/build-server/hwloc-nightly-tarball.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ for branch in $branches; do
148148
# tell the web server to cleanup old nightly tarballs
149149
run_command ssh -p 2222 \
150150
$output_ssh_target \
151-
"git/ompi/contrib/build-server/remove-old.pl 7 public_html/software/hwloc/nightly/$branch"
151+
\"git/ompi/contrib/build-server/remove-old.pl 7 public_html/software/hwloc/nightly/$branch\"
152152
# upload the new ones
153153
run_command scp -P 2222 \
154154
$outputroot/$branch/hwloc-$latest_snapshot.tar.* \
@@ -159,10 +159,10 @@ for branch in $branches; do
159159
# direct the web server to regenerate the checksums
160160
run_command ssh -p 2222 \
161161
$output_ssh_target \
162-
"cd public_html/software/hwloc/nightly/$branch && md5sum hwloc* > md5sums.txt"
162+
\"cd public_html/software/hwloc/nightly/$branch \&\& md5sum hwloc\* \> md5sums.txt\"
163163
run_command ssh -p 2222 \
164164
$output_ssh_target \
165-
"cd public_html/software/hwloc/nightly/$branch && sha1sum hwloc* > sha1sums.txt"
165+
\"cd public_html/software/hwloc/nightly/$branch \&\& sha1sum hwloc\* \> sha1sums.txt\"
166166
fi
167167

168168
# Failed builds are not removed. But if a human forgets to come

contrib/build-server/openmpi-nightly-tarball.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ for branch in $branches; do
151151
# tell the web server to cleanup old nightly tarballs
152152
run_command ssh -p 2222 \
153153
$output_ssh_target \
154-
"git/ompi/contrib/build-server/remove-old.pl 7 public_html/nightly/$branch"
154+
\"git/ompi/contrib/build-server/remove-old.pl 7 public_html/nightly/$branch\"
155155
# upload the new ones
156156
run_command scp -P 2222 \
157157
$outputroot/$branch/openmpi-$latest_snapshot.tar.* \
@@ -162,10 +162,10 @@ for branch in $branches; do
162162
# direct the web server to regenerate the checksums
163163
run_command ssh -p 2222 \
164164
$output_ssh_target \
165-
"cd public_html/nightly/$branch && md5sum openmpi* > md5sums.txt"
165+
\"cd public_html/nightly/$branch \&\& md5sum openmpi\* \> md5sums.txt\"
166166
run_command ssh -p 2222 \
167167
$output_ssh_target \
168-
"cd public_html/nightly/$branch && sha1sum openmpi* > sha1sums.txt"
168+
\"cd public_html/nightly/$branch \&\& sha1sum openmpi\* \> sha1sums.txt\"
169169
fi
170170

171171
# Failed builds are not removed. But if a human forgets to come

contrib/build-server/pmix-nightly-tarball.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ for branch in $branches; do
157157
# tell the web server to cleanup old nightly tarballs
158158
run_command ssh -p 2222 \
159159
$output_ssh_target \
160-
"git/ompi/contrib/build-server/remove-old.pl 7 public_html/software/pmix/nightly/$branch"
160+
\"git/ompi/contrib/build-server/remove-old.pl 7 public_html/software/pmix/nightly/$branch\"
161161
# upload the new ones
162162
run_command scp -P 2222 \
163163
$outputroot/$branch/pmix-$latest_snapshot.tar.* \
@@ -168,10 +168,10 @@ for branch in $branches; do
168168
# direct the web server to regenerate the checksums
169169
run_command ssh -p 2222 \
170170
$output_ssh_target \
171-
"cd public_html/software/pmix/nightly/$branch && md5sum pmix* > md5sums.txt"
171+
\"cd public_html/software/pmix/nightly/$branch \&\& md5sum pmix\* \> md5sums.txt\"
172172
run_command ssh -p 2222 \
173173
$output_ssh_target \
174-
"cd public_html/software/pmix/nightly/$branch && sha1sum pmix* > sha1sums.txt"
174+
\"cd public_html/software/pmix/nightly/$branch \&\& sha1sum pmix\* \> sha1sums.txt\"
175175
fi
176176

177177
# Failed builds are not removed. But if a human forgets to come

0 commit comments

Comments
 (0)