Skip to content

Commit

Permalink
Failure case with other condition
Browse files Browse the repository at this point in the history
  • Loading branch information
shirok committed Jul 20, 2024
1 parent 3f08421 commit a85207c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/self-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ jobs:
- uses: shirok/setup-gauche@test
with:
prebuilt-binary: true
gauche-version: 0.9.14
test-gauche: false
- name: Run gosh
run: gosh -V
5 changes: 2 additions & 3 deletions download-and-install-gauche.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,8 @@ if [ ! -z "$configure_opts" ]; then
fi

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

Expand Down

0 comments on commit a85207c

Please sign in to comment.