diff options
author | Erich Eckner <git@eckner.net> | 2017-12-01 13:58:14 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-12-01 13:58:14 +0100 |
commit | d5196c00bfaacfc83fc4bb7e75b781ea9f8642f2 (patch) | |
tree | 9a0df511fa7e6c47313c781d5b3f2c619c2c1f84 | |
parent | 5caf3facc5a1160418106a85ea1ffaf618ac6752 (diff) | |
download | builder-d5196c00bfaacfc83fc4bb7e75b781ea9f8642f2.tar.xz |
bin/mysql-functions: prefix function names with "mysql_"
-rwxr-xr-x | bin/mysql-functions | 12 |
1 files changed, 6 insertions, 6 deletions
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 |