Skip to content

Commit

Permalink
fix: break after successful configure command to avoid errors
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
  • Loading branch information
vladdoster committed May 12, 2022
1 parent 5895445 commit 2f0e56f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bin/.local/bin/tarball-installer
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,22 @@ if [[ ! -e 'Makefile' ]]; then
_log "configuring $PROGRAM_SRC"
if autoconf; then
_log "autoconf ran successfully, continuing"
break
elif autoreconf -iv; then
_log "autoreconf successful, continuing"
break
elif sh autogen.sh; then
_log "ran autogen.sh successfully, continuing"
break
elif AUTOCONF=autoconf2.69 sh ./autogen.sh; then
_log "ran autogen.sh successfully, continuing"
break
elif mkdir build && pushd build && cmake . && popd; then
_log "ran cmake successfully, continuing"
break
else
_log "failed $PROGRAM_SRC configuration"
break
fi
if [[ -f configure.ac ]]; then
if automake; then
Expand Down

0 comments on commit 2f0e56f

Please sign in to comment.