version: bump

This commit is contained in:
Dylan Araps 2019-09-15 10:42:18 +03:00
parent af9b6f5698
commit d323264668
1 changed files with 7 additions and 5 deletions

12
kiss
View File

@ -345,7 +345,7 @@ pkg_build() {
log "Resolving dependencies" log "Resolving dependencies"
for pkg; do for pkg; do
contains "$explicit" "$pkg" || { contains "$explicit" "$pkg" || {
pkg_depends "$pkg" explicit pkg_depends "$pkg" explicit
@ -361,13 +361,15 @@ pkg_build() {
# package, remove it from the explicit list as it needs to be # package, remove it from the explicit list as it needs to be
# installed as a dependency. # installed as a dependency.
for pkg; do for pkg; do
# There's no better way to remove a word from a string in # There's no better way to remove a word from a string in
# POSIX 'sh' sadly. # POSIX 'sh' sadly.
contains "$deps" "$pkg" && contains "$deps" "$pkg" &&
explicit=$(echo "$explicit" | sed "s/ $pkg / /g") explicit=$(echo "$explicit" | sed "s/ $pkg / /g")
done done
set -- $deps $explicit set -- $deps $explicit
echo "$explicit_build"
echo "$deps - $explicit"
log "Building: $*" log "Building: $*"
@ -387,7 +389,7 @@ pkg_build() {
# Install any pre-built dependencies if they exist in the binary # Install any pre-built dependencies if they exist in the binary
# directory and are up to date. # directory and are up to date.
for pkg; do for pkg; do
# Don't check for a pre-built package if it was passed # Don't check for a pre-built package if it was passed
# to KISS directly. # to KISS directly.
contains "$explicit_build" "$pkg" || { contains "$explicit_build" "$pkg" || {
# Figure out the version and release. # Figure out the version and release.
@ -950,7 +952,7 @@ args() {
;; ;;
v|version|-v|--version) v|version|-v|--version)
printf 'kiss 0.22.0\n' printf 'kiss 0.30.0\n'
;; ;;
h|help|-h|--help|'') h|help|-h|--help|'')