else if --> elif (thanks to yankees26 for finding this)
This commit is contained in:
parent
0aae368a79
commit
8626e5dd47
1 changed files with 1 additions and 1 deletions
|
@ -819,7 +819,7 @@ else
|
||||||
# use distcc if it is requested (check buildenv and PKGBUILD opts)
|
# use distcc if it is requested (check buildenv and PKGBUILD opts)
|
||||||
if [ "$(check_buildenv distcc)" = "y" -a "$(check_option distcc)" != "n" ]; then
|
if [ "$(check_buildenv distcc)" = "y" -a "$(check_option distcc)" != "n" ]; then
|
||||||
[ -d /usr/lib/distcc/bin ] && export PATH=/usr/lib/distcc/bin:$PATH
|
[ -d /usr/lib/distcc/bin ] && export PATH=/usr/lib/distcc/bin:$PATH
|
||||||
else if [ "$(check_option distcc)" = "n" ]; then
|
elif [ "$(check_option distcc)" = "n" ]; then
|
||||||
# if it is not wanted, clear the makeflags too
|
# if it is not wanted, clear the makeflags too
|
||||||
export MAKEFLAGS=""
|
export MAKEFLAGS=""
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue