Skip to content

Commit 7c4946c

Browse files
committed
www: Fix bash bug in run-ys
1 parent 453e33a commit 7c4946c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

www/src/run-ys

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ main() {
2222
[[ -f $bin/ys-0 && -x $bin/ys-0 ]] ||
2323
install-ys
2424

25-
if [[ $YS_OUTPUT == '%.'* ]]; then
25+
if [[ ${YS_OUTPUT-} == '%.'* ]]; then
2626
YS_OUTPUT=${file%.*}${YS_OUTPUT#\%}
2727
fi
2828

0 commit comments

Comments
 (0)