summaryrefslogtreecommitdiffstats
path: root/lib/metadata.sh
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2018-12-25 22:41:19 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2018-12-25 22:41:19 (EST)
commit8d5bfc4679824ca505f5982ee602e5b79774f890 (patch)
tree6503e59fb9c27431cc5ae6ef738cf1c766b58611 /lib/metadata.sh
parent83463846ac7c239bf8dbd35f077cd4194d50323f (diff)
libopkbuild: Move function definitions before points of use
Diffstat (limited to 'lib/metadata.sh')
-rw-r--r--lib/metadata.sh24
1 files changed, 12 insertions, 12 deletions
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 <http://www.gnu.org/licenses/>.
+_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 ${?}
-}