diff options
author | Erich Eckner <git@eckner.net> | 2018-01-21 15:52:26 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-01-21 15:52:26 +0100 |
commit | 14b3fccef66633414be935a3d163db9d253225c6 (patch) | |
tree | 106dff387968742a4333977ae9c0ef775e66afb5 /bin/mysql-functions | |
parent | 322356cd803127f4eb5de2fdff309086d57a6828 (diff) | |
download | builder-14b3fccef66633414be935a3d163db9d253225c6.tar.xz |
bin/mysql-functions: style
Diffstat (limited to 'bin/mysql-functions')
-rwxr-xr-x | bin/mysql-functions | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/bin/mysql-functions b/bin/mysql-functions index 7b9e724..b5c7d80 100755 --- a/bin/mysql-functions +++ b/bin/mysql-functions @@ -191,16 +191,19 @@ mysql_generate_package_metadata() { ''|*[!0-9]*) unset forced_sub_pkgrel current_repository=$( - echo 'build-list' | \ - base64_encode_each + printf 'build-list' | \ + base64 -w0 ) ;; *) - forced_sub_pkgrel="$1" + forced_sub_pkgrel=$( + printf '%s' "$1" | \ + base64 -w0 + ) shift current_repository=$( - echo "$1" | \ - base64_encode_each + printf '%s' "$1" | \ + base64 -w0 ) shift ;; |