Description: Fix the semantics of empty elements in the $PATH
 This patch allows the where builtin command to consider empty entries
 like e.g. in PATH=:/sbin:/bin to represent the current directory.
Author: Marco d'Itri <md@linux.it>

--- a/cmds.c
+++ b/cmds.c
@@ -1453,7 +1453,7 @@ do_where(int argc, const char ** argv)
 		 */
 		dirName = path;
 
-		if (dirName == '\0')
+		if (dirName[0] == '\0')
 			dirName = ".";
 
 		/*
