@@ -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
103103# Be sure to include any already defined QUARTO_DENO_OPTIONS
104104QUARTO_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} " " $@ "
0 commit comments