1 Commits

Author SHA1 Message Date
c92a3b4b30 include block name in error message
Some checks failed
Required Approvals / required-approvals (pull_request) Failing after 1s
2025-07-08 21:26:27 -05:00

View File

@@ -51,7 +51,7 @@ for (@ARGV) {
if ($end_index != 0) {
splice(@lines, $end_index, 0, "\n" . $line_prefix . $remove_var . "\n");
} else {
die("Error: Unable to find package section in PKGBUILD.\n");
die("Error: Unable to find " . $package_block . " section in PKGBUILD.\n");
}
}