summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-04-15 15:04:40 +0200
committerErich Eckner <git@eckner.net>2018-04-15 15:04:40 +0200
commitda9a7ce76831ae47032974534f75795494b1d028 (patch)
tree9d6797f255ac9ab2e77150d207958dda19c0c458
parentda39b1555767eb04dbd8ce232ea0088f81b67a6c (diff)
downloadbuilder-da9a7ce76831ae47032974534f75795494b1d028.tar.xz
lib/mysql-functions: more detailed progress
-rwxr-xr-xlib/mysql-functions12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index 9bb01f1..65df38a 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -238,7 +238,7 @@ mysql_generate_package_metadata() {
temp_dir=$(mktemp -d 'tmp.mysql-functions.mysql_generate_package_metadata.XXXXXXXXXX' --tmpdir)
trap 'rm -rf --one-file-system "${temp_dir}"' EXIT
- printf '.' >&2
+ printf '.a' >&2
if ! make_source_info "${package}" "${repository}" "${git_revision}" "${mod_git_revision}" "${temp_dir}/SRCINFO"; then
printf '"make_source_info %s %s %s %s %s" failed.\n' "${package}" "${repository}" "${git_revision}" "${mod_git_revision}" "${temp_dir}/SRCINFO"
exit 2
@@ -257,7 +257,7 @@ mysql_generate_package_metadata() {
fi
printf '\n\n' >> "${temp_dir}/SRCINFO"
- printf '.' >&2
+ printf '.b' >&2
pkgbase=$(
grep '^pkgbase = ' "${temp_dir}/SRCINFO" | \
cut -d' ' -f3
@@ -266,11 +266,11 @@ mysql_generate_package_metadata() {
>&2 printf '"make_source_info" did not return a "pkgbase" - eh, what?\n'
exit 2
fi
- printf '.' >&2
+ printf '.c' >&2
# add the package source
mysql_add_package_source "${pkgbase}" "${git_revision}" "${old_git_revision}" "${mod_git_revision}" "${repository}" "${temp_dir}/SRCINFO"
- printf '.' >&2
+ printf '.d' >&2
# now we encode everything in base64
current_repository=$(
@@ -640,7 +640,7 @@ mysql_generate_package_metadata() {
} >> \
"${temp_dir}/add-install-targets-command"
done
- printf '.' >&2
+ printf '.e' >&2
{
if [ -s "${temp_dir}/add-build-assignments-command" ]; then
@@ -654,7 +654,7 @@ mysql_generate_package_metadata() {
fi
} | \
mysql_run_query
- printf '.' >&2
+ printf '.f' >&2
)
}