pm

barely a pack manager
git clone git://z3bra.org/pm
Log | Files | Refs | README | LICENSE

commit c98e93ed70eba1d6a5f7fce6b87e15179d5d3171
parent ba9dca9b6a14c82f79f297ebc16736c12189f1cf
Author: z3bra <willyatmailoodotorg>
Date:   Fri Sep  9 13:38:46 +0200

Save full path instead of basename in pack struct

Diffstat:
pm.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pm.c b/pm.c @@ -216,7 +216,7 @@ pack_load_tarball(char *path) for (i=0; i<nmatch; i++) sublen[i] = sub[i].rm_eo - sub[i].rm_so; - pack->path = strdup(fn); + pack->path = strdup(path); pack->name = malloc(sublen[1] + 1); pack->version = malloc(sublen[2] + 1);