Skip to content

Commit

Permalink
install.sh: never install the C library by default
Browse files Browse the repository at this point in the history
  • Loading branch information
greenrobot-team committed Oct 1, 2024
1 parent 8b34fd2 commit 99ec887
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,4 @@ cLibVersion=4.0.0
os=$(uname)
cLibArgs="$*"

# if there's no tty this is probably part of a docker build - therefore we install the c-api explicitly
if [[ "$os" != MINGW* ]] && [[ "$os" != CYGWIN* ]] && [[ "$cLibArgs" != *"--install"* ]]; then
tty -s || cLibArgs="${cLibArgs} --install"
fi


bash <(curl -s https://raw.githubusercontent.com/objectbox/objectbox-c/main/download.sh) ${cLibArgs} ${cLibVersion}

0 comments on commit 99ec887

Please sign in to comment.