Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Try to create the tmp directory if it doesn't exists that helps bootstrapping base from pkgng
Baptiste Daroussin committed 13 years ago
commit 3a6c2da1f963a430f4aa8c330ef789aad8cea61c
parent 3a125077571a2b5f409b0a2016cd2b86864e7f7c
1 file changed +1 -0
modified libpkg/update.c
@@ -80,6 +80,7 @@ repo_fetch_remote_tmp(struct pkg_repo *repo, const char *filename, const char *e
	tmpdir = getenv("TMPDIR");
	if (tmpdir == NULL)
		tmpdir = "/tmp";
+
	mkdirs(tmpdir);
	snprintf(tmp, MAXPATHLEN, "%s/%s.%s.XXXXXX", tmpdir, filename, extension);

	fd = mkstemp(tmp);