else if --> elif (thanks to yankees26 for finding this)

This commit is contained in:
Aaron Griffin 2007-02-24 02:11:52 +00:00
parent 0aae368a79
commit 8626e5dd47

View file

@ -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