Use \0 as delimiter for while read loops. Bump version.

This commit is contained in:
Darren 'Tadgy' Austin 2022-10-15 23:01:30 +01:00
commit df493c0a26
19 changed files with 483 additions and 127 deletions

View file

@ -27,7 +27,7 @@ check_installed() {
die() {
# $1 = The message to write to stderr on exit.
printf "\\n33[1;31;40m%s: %s\\033[0;39m\\n" "${0##*/}" "${1:-Abort}" >&2
printf "\\033[1;31;40m%s: %s\\033[0;39m\\n" "${0##*/}" "${1:-Abort}" >&2
exit 1
}
@ -354,5 +354,5 @@ makepkg -l y -p -c n --acls --xattrs "$BUILD_WORKDIR/$PKG_NAME-${PKG_VERSION//-/
mv "$BUILD_WORKDIR/$PKG_NAME-${PKG_VERSION//-/_}-$PKG_ARCH-$PKG_BUILD${PKG_TAG//-/_}.$PKG_EXT" "$PKG_STORE"; } || \
die "Failed to move package to store - package left in $BUILD_WORKDIR"
printf "\\n33[1;32;40m%s:\\n %s\\033[0;39m\\n" "Package built and moved to store" \
printf "\\033[1;32;40m%s:\\n %s\\033[0;39m\\n" "Package built and moved to store" \
"$PKG_STORE/$PKG_NAME-${PKG_VERSION//-/_}-$PKG_ARCH-$PKG_BUILD${PKG_TAG//-/_}.$PKG_EXT"