cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit 1b3260b891f61cc0ea2b784a28dbe84eca3dabe3
parent 4ff9c5cc2e1ee8b680616be8cc153d6de770ff9c
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Thu,  6 Feb 2020 14:06:51 +0200

kiss: cleanup update messages

Diffstat:
Mkiss | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/kiss b/kiss @@ -1047,9 +1047,8 @@ pkg_updates() { # Update each repository in '$KISS_PATH'. It is assumed that # each repository is 'git' tracked. for repo; do - cd "$repo" - # Go to the root of the repository (if it exists). + cd "$repo" cd "$(git rev-parse --show-toplevel 2>/dev/null)" 2>/dev/null ||: [ -d .git ] || { @@ -1070,7 +1069,7 @@ pkg_updates() { # Display a tick if signing is enabled for this # repository. case $(git config merge.verifySignatures) in - true) log "$PWD" "[signed ✓] " ;; + true) log "$PWD" "[signed ✓] " ;; *) log "$PWD" " " ;; esac