diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-09-11 15:04:04 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-09-11 15:04:04 +0000 |
commit | 6f6d25ade97025b10c1a8a7360c85edee46339f8 (patch) | |
tree | 8aa432e5391f1c40944306eab8710dcf818b80a5 | |
parent | b7716ead1f36d7895bed21385d70e3eb9fdee263 (diff) | |
download | cpt-6f6d25ade97025b10c1a8a7360c85edee46339f8.tar.gz |
kiss: Don't error on git repository with no remote
FossilOrigin-Name: 5f93eee59a1ccb69ca6a28e3d56b917cf4fbcb15a8db0968327d68778ac71244
-rwxr-xr-x | kiss | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -764,6 +764,11 @@ pkg_updates() { continue } + [ "$(git remote 2>/dev/null)" ] || { + log "[$repo] No remote, skipping" + continue + } + case $repos in # If the repository has already been updated, skip it. *" $PWD "*) ;; @@ -967,7 +972,7 @@ args() { ;; v|version|-v|--version) - printf 'kiss 0.20.0\n' + printf 'kiss 0.20.1\n' ;; h|help|-h|--help|'') |