xbps-fbulk: deps/foo just append the dependency pkgname.

This commit is contained in:
Juan RP 2015-04-20 18:44:06 +02:00
parent 4b608365e0
commit 7ea5a53cbd

View File

@ -228,7 +228,7 @@ processCompletion(struct item *item)
xitem->status = XDEPFAIL;
logpath3 = xbps_xasprintf("%s/deps/%s", LogDir, xitem->pkgn);
fp = fopen(logpath3, "a");
fprintf(fp, "Dependency failed: %s\n", item->pkgn);
fprintf(fp, "%s\n", item->pkgn);
fclose(fp);
free(logpath3);
}
@ -248,7 +248,7 @@ processCompletion(struct item *item)
*/
logpath3 = xbps_xasprintf("%s/deps/%s", LogDir, xitem->pkgn);
fp = fopen(logpath3, "a");
fprintf(fp, "Dependency failed: %s\n", item->pkgn);
fprintf(fp, "%s\n", item->pkgn);
fclose(fp);
free(logpath3);
}
@ -429,7 +429,7 @@ addDepn(struct item *item, struct item *xitem)
item->status = XDEPFAIL;
logpath3 = xbps_xasprintf("%s/deps/%s", LogDir, item->pkgn);
fp = fopen(logpath3, "a");
fprintf(fp, "Dependency failed: %s\n", xitem->pkgn);
fprintf(fp, "%s\n", xitem->pkgn);
fclose(fp);
free(logpath3);
}