aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2020-02-06 12:06:50 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2020-02-06 12:06:50 +0000
commit7d7b317fed98723d03ffa08f944f57a7b5bc7876 (patch)
tree9145eca8c7254f4370ab3be48a1801445e176c13 /kiss
parent163d12e3ee87ef93a8cefa8331acaea8895db20b (diff)
downloadcpt-7d7b317fed98723d03ffa08f944f57a7b5bc7876.tar.gz
kiss: cleanup update messages
FossilOrigin-Name: c8b96f7c9a3d093dbf700caffdcad2eca4ee75b6acf2d8bb7e7ce9226f6febed
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss5
1 files changed, 2 insertions, 3 deletions
diff --git a/kiss b/kiss
index f2cf6cb..4c717b2 100755
--- 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