diff --git a/vpath.c b/vpath.c index 33e92c7b..db53168d 100644 --- a/vpath.c +++ b/vpath.c @@ -147,7 +147,7 @@ construct_vpath_list (pattern, dirpath) free ((char *) path); } - lastpath = next; + lastpath = path; path = next; }