forked from enlightenment/efl
13 lines
305 B
Bash
Executable File
13 lines
305 B
Bash
Executable File
#!/bin/bash
|
|
|
|
|
|
set -o pipefail
|
|
export TEST_VAR=1
|
|
if ! ./configure $@ | tee -a configlog ; then
|
|
if grep -q 'configure: error: changes in the environment can compromise the build' configlog ; then
|
|
echo "clearing config.cache and retrying..."
|
|
rm -f configlog config.cache
|
|
./configure $@
|
|
fi
|
|
fi
|