Skip to content

Commit 03ce719

Browse files
committed
pushd instead of cd
1 parent a2baa96 commit 03ce719

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

configure.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ if [[ "${QUARTO_VENDOR_BINARIES}" = "true" ]]; then
4141

4242
## Binary Directory
4343
mkdir -p "$QUARTO_BIN_PATH/tools"
44-
cd "$QUARTO_BIN_PATH/tools"
44+
pushd "$QUARTO_BIN_PATH/tools"
4545

4646
# Download Deno
4747
for DENOFILE in $DENOFILES; do
@@ -64,6 +64,8 @@ if [[ "${QUARTO_VENDOR_BINARIES}" = "true" ]]; then
6464
# write deno version file for later use
6565
mkdir -p "$QUARTO_BIN_PATH/../config"
6666
echo "$DENO" > "$QUARTO_BIN_PATH/../config/deno-version"
67+
68+
popd
6769
fi
6870
export DENO_BIN_PATH=$QUARTO_BIN_PATH/tools/$DENO_ARCH_DIR/deno
6971
else

0 commit comments

Comments
 (0)