Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix typo, which in certain cases makes pkg fail to recognize a script
Baptiste Daroussin committed 5 years ago
commit dd00451d23b5c11ba9a66d9f8df777d9ba150f00
parent 37ee400
1 file changed +1 -1
modified libpkg/pkg_manifest.c
@@ -605,7 +605,7 @@ pkg_obj(struct pkg *pkg, const ucl_object_t *obj, uint32_t attr)
				break;
			}
			lua_script_type = lua_script_type_str(key);
-
			if (script_type == PKG_LUA_UNKNOWN) {
+
			if (lua_script_type == PKG_LUA_UNKNOWN) {
				pkg_emit_error("Skipping unknown script "
				    "type: %s", key);
				break;