From d5196c00bfaacfc83fc4bb7e75b781ea9f8642f2 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 1 Dec 2017 13:58:14 +0100 Subject: bin/mysql-functions: prefix function names with "mysql_" --- bin/mysql-functions | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'bin') diff --git a/bin/mysql-functions b/bin/mysql-functions index 737a078..d9962a9 100755 --- a/bin/mysql-functions +++ b/bin/mysql-functions @@ -6,10 +6,10 @@ mysql_command='mysql buildmaster -e' -# add_package_source $pkgbase $pkgver $pkgrel $git_revision $mod_git_revision $upstream_package_repository +# mysql_add_package_source $pkgbase $pkgver $pkgrel $git_revision $mod_git_revision $upstream_package_repository # shellcheck disable=SC2016,SC2086 -add_package_source() { +mysql_add_package_source() { local names='pkgbase pkgver pkgrel git_revision mod_git_revision upstream_package_repository' local values; for _ in ${names}; do @@ -37,10 +37,10 @@ add_package_source() { )" } -#add_binary_package $pkgbase $git_revision $mod_git_revision $upstream_package_repository $pkgname $sub_pkgrel $architecture $repository +# mysql_add_binary_package $pkgbase $git_revision $mod_git_revision $upstream_package_repository $pkgname $sub_pkgrel $architecture $repository # shellcheck disable=SC2016,SC2086,SC2154 -add_binary_package() { +mysql_add_binary_package() { local names='pkgbase git_revision mod_git_revision upstream_package_repository pkgname sub_pkgrel architecture repository' local name for name in ${names}; do @@ -81,10 +81,10 @@ add_binary_package() { )" } -# show_binary_package $pkgname $pkgver $pkgrel $sub_pkgrel +# mysql_show_binary_package $pkgname $pkgver $pkgrel $sub_pkgrel # shellcheck disable=SC2016,SC2086,SC2154 -show_binary_package() { +mysql_show_binary_package() { local names='pkgname pkgver pkgrel sub_pkgrel' local name for name in ${names}; do -- cgit v1.2.3-70-g09d2