Radish alpha
H
HardenedBSD Package Manager
Radicle
Git (anonymous pull)
Log in to clone via SSH
Make keys in repository configuration case insensible
Baptiste Daroussin committed 13 years ago
commit 6eb03588c3719a087f6639c4b85a9d12771c8023
parent 2dd845ce48a876946826871731e4e37e5d01ab85
1 file changed +3 -3
modified libpkg/pkg_config.c
@@ -702,11 +702,11 @@ add_repo(yaml_document_t *doc, yaml_node_t *repo, yaml_node_t *node)
			continue;
		}

-
		if (strcmp(key->data.scalar.value, "url") == 0)
+
		if (strcasecmp(key->data.scalar.value, "url") == 0)
			url = val->data.scalar.value;
-
		else if (strcmp(key->data.scalar.value, "pubkey") == 0)
+
		else if (strcasecmp(key->data.scalar.value, "pubkey") == 0)
			pubkey = val->data.scalar.value;
-
		else if (strcmp(key->data.scalar.value, "enable") == 0)
+
		else if (strcasecmp(key->data.scalar.value, "enable") == 0)
			enable = val->data.scalar.value;

		++pair;