N
N
nihi1ist2018-10-14 13:34:13
bash
nihi1ist, 2018-10-14 13:34:13

What is the error in the configure script and how to fix it?

I'm trying to configure the package, but it keeps saying:

line 480: continue: only relevant for "for", "while", or "until" loops

Swears on this line: The script is complete. What should the line look like?
if [ -z $var ]; then continue; fi

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Ratkin, 2018-10-14
@Hanharr

break and continue are only used inside loops to control them. If you want to abort script execution when $var is not empty, then as an option
if ! [ -z $var ]; then return 1; fi

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question