From 14b3fccef66633414be935a3d163db9d253225c6 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 21 Jan 2018 15:52:26 +0100 Subject: bin/mysql-functions: style --- bin/mysql-functions | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'bin') 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 ;; -- cgit v1.2.3-70-g09d2