Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-01-21 15:52:26 +0100
committerErich Eckner <git@eckner.net>2018-01-21 15:52:26 +0100
commit14b3fccef66633414be935a3d163db9d253225c6 (patch)
tree106dff387968742a4333977ae9c0ef775e66afb5 /bin
parent322356cd803127f4eb5de2fdff309086d57a6828 (diff)
bin/mysql-functions: style
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mysql-functions13
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
;;