aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2020-06-08 22:24:07 -0400
committerGitHub <noreply@github.com>2020-06-08 22:24:07 -0400
commit62db2a4054a55883e7476750c925cb9d5a72fbc5 (patch)
tree9a50e971ee638726831ec6f3aab2e1831185a6ef
parentc8ec7fd47c65fdda5d2c32002173789d7381d0d1 (diff)
parent73922f49bb94a545af837a6671639f7a96bd3e81 (diff)
downloadspmc-62db2a4054a55883e7476750c925cb9d5a72fbc5.tar.gz
Merge pull request #47 from jhunkeler/mkmanifest-again
Do not auto-complete manifest endpoint
-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