aboutsummaryrefslogtreecommitdiff
path: root/lib/manifest.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-06-08 17:14:26 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-06-08 22:15:43 -0400
commit73922f49bb94a545af837a6671639f7a96bd3e81 (patch)
tree9a50e971ee638726831ec6f3aab2e1831185a6ef /lib/manifest.c
parentc8ec7fd47c65fdda5d2c32002173789d7381d0d1 (diff)
downloadspmc-73922f49bb94a545af837a6671639f7a96bd3e81.tar.gz
Do not auto-complete manifest endpoint
Diffstat (limited to 'lib/manifest.c')
-rw-r--r--lib/manifest.c6
1 files changed, 0 insertions, 6 deletions
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