]> pd.if.org Git - zpackage/commitdiff
fix printf format string
authorNathan Wagner <nw@hydaspes.if.org>
Sun, 4 Nov 2018 15:19:09 +0000 (15:19 +0000)
committerNathan Wagner <nw@hydaspes.if.org>
Sun, 4 Nov 2018 15:19:09 +0000 (15:19 +0000)
zpm-contents

index 6bc470e51e9c59fa0c74cae9657ac20de8c48fd6..929feabfdb586e050b38603163e607d58b6d6107 100755 (executable)
@@ -72,7 +72,7 @@ cols=${cols%,}
 
                printf "case\n";
                printf "when filetype = 'd' then rtrim(path,'/') || '/'\n"
-               printf "when filetype = 'l' then printf('%s -> %s', path, target)\n"
+               printf "when filetype = 'l' then printf('%%s -> %%s', path, target)\n"
                printf "else path end as path\n"
        fi
        printf 'from packagefiles_pkgid\nwhere true\n'