summaryrefslogtreecommitdiffstats
path: root/src/ob-checkbuilddeps.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-05-13 16:01:35 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-05-13 16:01:35 (EDT)
commit512bdbebb2e6a636d9e97b490fad68a52e4d983d (patch)
treedeb5232326b2e3cd1afb2b7a3dba5190cd64e58c /src/ob-checkbuilddeps.sh
parent142f4e925ebb368ea93ab79a9c9048a9c4cd0234 (diff)
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.
Diffstat (limited to 'src/ob-checkbuilddeps.sh')
-rw-r--r--src/ob-checkbuilddeps.sh1
1 files changed, 1 insertions, 0 deletions
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 ${?}