From 73922f49bb94a545af837a6671639f7a96bd3e81 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 8 Jun 2020 17:14:26 -0400 Subject: Do not auto-complete manifest endpoint --- lib/manifest.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/manifest.c') diff --git a/lib/manifest.c b/lib/manifest.c index 5a9fae3..f84867d 100644 --- a/lib/manifest.c +++ b/lib/manifest.c @@ -203,12 +203,6 @@ int manifest_write(Manifest *info, const char *pkgdir) { memset(path_manifest, '\0', sizeof(path)); strcpy(path, pkgdir); - - // Append the repo target if its missing - if (strstr(path, SPM_GLOBAL.repo_target) == NULL) { - strcat(path, DIRSEPS); - strcat(path, SPM_GLOBAL.repo_target); - } strcpy(path_manifest, path); // Append the manifest filename if its missing -- cgit