Skip to content

Commit c0ca049

Browse files
authored
Merge pull request #156 from thomasballinger/allow-no-quart-args
Allow calling quarto with no arguments in wrapper script
2 parents dcac1af + 65b3fca commit c0ca049

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

package/scripts/common/quarto

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ if [ -f "$DEV_PATH" ]; then
3030
export QUARTO_SHARE_PATH="`cd "$SCRIPT_PATH/../../../src/resources/";pwd`"
3131
export QUARTO_DEBUG=true
3232

33-
if [ $1 == "--version" ]; then
33+
if [ "$1" == "--version" ]; then
3434
echo "99.9.9"
3535
exit 0
3636
fi
@@ -42,14 +42,14 @@ else
4242
export QUARTO_BIN_PATH=$SCRIPT_PATH
4343
export QUARTO_SHARE_PATH="`cd "$SCRIPT_PATH/../share";pwd`"
4444

45-
if [ $1 == "--version" ]; then
45+
if [ "$1" == "--version" ]; then
4646
echo `cat "$QUARTO_SHARE_PATH/version"`
4747
exit 0
4848
fi
4949

5050
fi
5151

52-
if [ $1 == "--paths" ]; then
52+
if [ "$1" == "--paths" ]; then
5353
echo "$QUARTO_BIN_PATH"
5454
echo "$QUARTO_SHARE_PATH"
5555
exit 0

0 commit comments

Comments
 (0)