[pacman-dev] CVS update of pacman-lib/scripts (makepkg)

Aaron Griffin aaron at archlinux.org
Fri Feb 23 21:11:52 EST 2007


    Date: Friday, February 23, 2007 @ 21:11:52
  Author: aaron
    Path: /home/cvs-pacman/pacman-lib/scripts

Modified: makepkg (1.52 -> 1.53)

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


---------+
 makepkg |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Index: pacman-lib/scripts/makepkg
diff -u pacman-lib/scripts/makepkg:1.52 pacman-lib/scripts/makepkg:1.53
--- pacman-lib/scripts/makepkg:1.52	Fri Feb 23 20:45:36 2007
+++ pacman-lib/scripts/makepkg	Fri Feb 23 21:11:52 2007
@@ -819,7 +819,7 @@
 	# use distcc if it is requested (check buildenv and PKGBUILD opts)
 	if [ "$(check_buildenv distcc)" = "y" -a "$(check_option distcc)" != "n" ]; then
 		[ -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
 		export MAKEFLAGS=""
 	fi




More information about the pacman-dev mailing list