From 8d5bfc4679824ca505f5982ee602e5b79774f890 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 25 Dec 2018 22:41:19 -0500 Subject: libopkbuild: Move function definitions before points of use --- (limited to 'lib/metadata.sh') diff --git a/lib/metadata.sh b/lib/metadata.sh index 3ffae71..30aa018 100644 --- a/lib/metadata.sh +++ b/lib/metadata.sh @@ -17,6 +17,18 @@ # You should have received a copy of the GNU General Public License # along with opkbuild. If not, see . +_ob_metadata_do() +{ + local func= + + func="${1}" + shift 1 + + "_ob_${func}" "${@}" + + return ${?} +} + ob_validate_source_name() { local name= @@ -300,15 +312,3 @@ ob_get_system_path() return ${?} } - -_ob_metadata_do() -{ - local func= - - func="${1}" - shift 1 - - "_ob_${func}" "${@}" - - return ${?} -} -- cgit v0.9.1