Skip to content

Commit 3e8e0e3

Browse files
committed
fix echo in script
1 parent b3491d8 commit 3e8e0e3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

configure-linux.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,15 @@ popd
6363
if [[ "$CI" != "true" && ( ( "./src/import_map.json" -nt "./src/dev_import_map.json" ) || ( "./src/vendor/import_map.json" -nt "./src/dev_import_map.json" ) ) ]]; then
6464
echo [Revendoring quarto dependencies]
6565

66-
today=`date +%Y-%m-%d`
66+
today=`date +%Y-%m-%d`
6767
mv ./src/vendor ./src/vendor-${today}
6868
pushd src
6969
set +e
7070
../package/dist/bin/tools/deno vendor quarto.ts ../tests/test-deps.ts --importmap=./import_map.json
7171
return_code="$?"
7272
set -e
7373
if [[ ${return_code} -ne 0 ]]; then
74-
echo deno vendor failed (likely because of a download error). Please run the configure script again.
74+
echo "deno vendor failed (likely because of a download error). Please run the configure script again."
7575
rm -rf vendor
7676
mv vendor-${today} vendor
7777
exit 1

configure-macos.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@ popd
5353
if [[ "$CI" != "true" && ( ( "./src/import_map.json" -nt "./src/dev_import_map.json" ) || ( "./src/vendor/import_map.json" -nt "./src/dev_import_map.json" ) ) ]]; then
5454
echo [Revendoring quarto dependencies]
5555

56-
today=`date +%Y-%m-%d`
56+
today=`date +%Y-%m-%d`
5757
mv ./src/vendor ./src/vendor-${today}
5858
pushd src
5959
set +e
6060
../package/dist/bin/tools/deno vendor quarto.ts ../tests/test-deps.ts --importmap=./import_map.json
6161
return_code="$?"
6262
set -e
6363
if [[ ${return_code} -ne 0 ]]; then
64-
echo deno vendor failed (likely because of a download error). Please run the configure script again.
64+
echo "deno vendor failed (likely because of a download error). Please run the configure script again."
6565
rm -rf vendor
6666
mv vendor-${today} vendor
6767
exit 1

0 commit comments

Comments
 (0)