From 512bdbebb2e6a636d9e97b490fad68a52e4d983d Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Tue, 13 May 2014 16:01:35 -0400 Subject: ob-checkbuilddeps: Set substvars. ob_set_package_substvars() expects the name of a binary package as an argument, even though its implementation for SPF 2.x doesn't use the argument and SPF 2.0 doesn't specify any substitution variables that are specific to a binary package. I probably planned to add some binary-specific variables ("Binary" maybe?) but never did. For now we'll just call ob_set_package_substvars() with an empty argument. --- (limited to 'src') diff --git a/src/ob-checkbuilddeps.sh b/src/ob-checkbuilddeps.sh index bb17560..6b41416 100644 --- a/src/ob-checkbuilddeps.sh +++ b/src/ob-checkbuilddeps.sh @@ -32,6 +32,7 @@ main() ob_init_package '..' || exit 1 ob_parse_package_metadata -c '.opkbuild.cache' || exit 1 + ob_set_package_substvars '' check_build_deps return ${?} -- cgit v0.9.1