Skip to content

Commit

Permalink
checking a varaible instead of a function now
Browse files Browse the repository at this point in the history
  • Loading branch information
jabez007 committed Nov 19, 2024
1 parent c0605d2 commit c2859e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion SHA256SUM
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
167c4d5059eb53c002adf3149888ea5907cd288353498f2fb61e47c213c8295f install.sh
83f19ea13f6d7884f4dc0e2f92e7e08e7589204138d9b6edfcd53c3f07b3273b install.sh
0e7618d4055b21fe1fe7915ebbe27814f2f6f178cb739d1cc2a0d729da1c9d58 install.ps1
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ run_shell_setup() {
}

# If stdout is a terminal, see if we can run shell setup script (which includes interactive prompts)
if { [ -z "$CI" ] && [ -t 1 ]; } || should_run_shell_setup; then
if { [ -z "$CI" ] && [ -t 1 ]; } || $should_run_shell_setup; then
if $exe eval 'const [major, minor] = Deno.version.deno.split("."); if (major < 2 && minor < 42) Deno.exit(1)'; then
if should_run_shell_setup; then
if $should_run_shell_setup; then
run_shell_setup -y "$@" # doublely sure to pass -y to run_shell_setup in this case
else
if [ -t 0 ]; then
Expand Down

0 comments on commit c2859e2

Please sign in to comment.