Andrzej Szeszo
2014-02-23 e18339e16088650b7194abc6ca7bdbc71547dbbc
Fix userland-unpack handling of paths starting with a /
1 files modified
2 ■■■ changed files
tools/userland-unpack 2 ●●● patch | view | raw | blame | history
tools/userland-unpack
@@ -117,7 +117,7 @@
        else:
            assert False, "unknown option"
    filename = ((args[0] == '/') and "%s" or "../%s") % args[0]
    filename = ((args[0][0] == '/') and "%s" or "../%s") % args[0]
    uncompress, unpack = uncompress_unpack_commands(filename)
    tempdir = tempfile.mkdtemp(dir='.')