Skip to content

Commit a85207c

Browse files
committed
Failure case with other condition
1 parent 3f08421 commit a85207c

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/self-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ jobs:
4141
- uses: shirok/setup-gauche@test
4242
with:
4343
prebuilt-binary: true
44-
gauche-version: 0.9.14
44+
test-gauche: false
4545
- name: Run gosh
4646
run: gosh -V

download-and-install-gauche.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@ if [ ! -z "$configure_opts" ]; then
3939
fi
4040

4141
if [ "$binary" = 'true' ]; then
42-
echo "#############" $opts "###############"
43-
if [ "$version" != 'latest' ]; then
44-
echo "If prebuilt-binary is true, no ther option should be given."
42+
if [ "$version" != 'latest' -o -n "$do_test" -o -n "$configure_opts" ]; then
43+
echo "If prebuilt-binary is true, no other option should be given."
4544
exit 1
4645
fi
4746

0 commit comments

Comments
 (0)