Skip to content

Commit 869844b

Browse files
committed
Merge branch 'main' of github.com:quarto-dev/quarto-cli into main
2 parents 0253e6b + c4b2190 commit 869844b

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

package/scripts/common/quarto

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,24 +35,24 @@ if [ -f "$DEV_PATH" ]; then
3535
QUARTO_DIST_CONFIG=$QUARTO_BIN_PATH/../config
3636
mkdir -p $QUARTO_DIST_CONFIG
3737
DENO_VERSION_FILE=$QUARTO_DIST_CONFIG/deno-version
38-
DENO_SOURCE_VERSION=`(cd $QUARTO_SRC_DIR && source ./configuration && echo $DENO)`
38+
DENO_SOURCE_VERSION="`(cd "$QUARTO_SRC_DIR" && source ./configuration && echo $DENO)`"
3939
if [ -f "$DENO_VERSION_FILE" ]; then
40-
DENO_INSTALLED_VERSION=`cat $DENO_VERSION_FILE`
40+
DENO_INSTALLED_VERSION=`cat "$DENO_VERSION_FILE"`
4141
if [ "$DENO_SOURCE_VERSION" != "$DENO_INSTALLED_VERSION" ]; then
4242
# configure will call back into this script so we need to update the
4343
# version so that the check will pass next time through
44-
echo $DENO_SOURCE_VERSION > $DENO_VERSION_FILE
44+
echo $DENO_SOURCE_VERSION > "$DENO_VERSION_FILE"
4545
if [ "$(uname)" = "Darwin" ]; then
46-
(cd $QUARTO_SRC_DIR && ./configure-macos.sh)
46+
(cd "$QUARTO_SRC_DIR" && ./configure-macos.sh)
4747
else
48-
(cd $QUARTO_SRC_DIR && ./configure-linux.sh)
48+
(cd "$QUARTO_SRC_DIR" && ./configure-linux.sh)
4949
fi
5050
echo ""
5151
printf "\\033[0;31mQuarto required reconfiguration to install Deno ${DENO_SOURCE_VERSION}. Please try command again.\\033[0m\n\n"
5252
exit 1
5353
fi
5454
else
55-
echo $DENO_SOURCE_VERSION > $DENO_VERSION_FILE
55+
echo $DENO_SOURCE_VERSION > "$DENO_VERSION_FILE"
5656
fi
5757

5858
if [ "$1" == "--version" ] || [ "$1" == "-v" ]; then
@@ -103,4 +103,4 @@ fi
103103
# Be sure to include any already defined QUARTO_DENO_OPTIONS
104104
QUARTO_DENO_OPTIONS="--unstable --allow-read --allow-write --allow-run --allow-env --allow-net --allow-ffi ${QUARTO_DENO_OPTIONS}"
105105

106-
${SCRIPT_PATH}/tools/deno ${QUARTO_ACTION} ${QUARTO_DENO_OPTIONS} ${QUARTO_DENO_EXTRA_OPTIONS} ${QUARTO_IMPORT_ARGMAP} ${QUARTO_TARGET} "$@"
106+
"${SCRIPT_PATH}/tools/deno" ${QUARTO_ACTION} ${QUARTO_DENO_OPTIONS} ${QUARTO_DENO_EXTRA_OPTIONS} "${QUARTO_IMPORT_ARGMAP}" "${QUARTO_TARGET}" "$@"

tests/run-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ python3 -m pip install -r requirements.txt -q
3535
# Ensure that tinytex is installed
3636
quarto tools install tinytex
3737

38-
${DENO_DIR}/tools/deno test ${QUARTO_DENO_OPTIONS} ${QUARTO_DENO_EXTRA_OPTIONS} ${QUARTO_IMPORT_ARGMAP} $@
38+
"${DENO_DIR}/tools/deno" test ${QUARTO_DENO_OPTIONS} ${QUARTO_DENO_EXTRA_OPTIONS} "${QUARTO_IMPORT_ARGMAP}" $@
3939

4040
SUCCESS=$?
4141

0 commit comments

Comments
 (0)