summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-10-08 21:22:52 (EDT)
committer P. J. McDermott <pjm@nac.net>2012-10-08 21:22:52 (EDT)
commit07863b5998d77ba57290c42789e9e121663d8b6b (patch)
tree3d4997bdf03dd6e8e60b15774e6afb3e35d1cc9f /lib
parentdc34cb8e44c1415cee53ca0119946341664a48f1 (diff)
Move build helper check into ob_get_system_path().
Diffstat (limited to 'lib')
-rw-r--r--lib/metadata/proteanos.sh13
1 files changed, 11 insertions, 2 deletions
diff --git a/lib/metadata/proteanos.sh b/lib/metadata/proteanos.sh
index c135e0f..2638c67 100644
--- a/lib/metadata/proteanos.sh
+++ b/lib/metadata/proteanos.sh
@@ -185,8 +185,17 @@ _ob_get_system_path_proteanos()
fi
;;
'build-helper')
- if [ ${#} -eq 0 ]; then
- printf '@@LIBDIR@@'
+ # helper_package
+ if [ ${#} -eq 1 ]; then
+ case "${1}" in
+ 'opkhelper-3.0')
+ printf '%s' '@@OPKHELPER_3_0@@'
+ ;;
+ *)
+ _ob_return 1
+ return ${?}
+ ;;
+ esac
else
_ob_return 125
return ${?}