]> git.e2factory.org Git - e2factory.git/commitdiff
fix missing variable declaration
authorGordon Hecker <gh@emlix.com>
Thu, 30 Apr 2009 13:29:56 +0000 (15:29 +0200)
committerGordon Hecker <gh@emlix.com>
Tue, 5 May 2009 15:08:02 +0000 (17:08 +0200)
Signed-off-by: Gordon Hecker <gh@emlix.com>
generic/e2lib.lua

index 9d0bc920f2668b2657351d3827066f287db7f500..cdefb9c4c09c92026c8c89db68786f9b4342862f 100644 (file)
@@ -1628,7 +1628,7 @@ function e2lib.parentdirs(path)
        local stop = false
        while true do
                local px
-               p = path:find("/", i)
+               local p = path:find("/", i)
                if not p then
                        p = #path
                        stop = true