Hi, I have a question
what does mean +set in the next line
if test "${lt_cv_path_SED+set}" = set; then
thanks
Hi, I have a question
what does mean +set in the next line
if test "${lt_cv_path_SED+set}" = set; then
thanks
The string test is avoiding a syntax error if the environment variable ${lt_cv_path_SED} is blank. It's too easy to write code which the next person cannot follow.
Imho it would be better as:
if test "${lt_cv_path_SED+set}" = "set"; then
Or even better as:
if [ "${lt_cv_path_SED}""set" = "set" ]; then