aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-18 08:53:24 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-06-18 08:53:24 +0000
commit0aae21b8e070d7978f3bfcb059bbfd6aac25e62f (patch)
tree7afec772c4571a400a4c255035a33db23bb6721d
parentc475a17d75c0cb09a1e8ca5e7a6e1348bdc19ef7 (diff)
downloadcpt-0aae21b8e070d7978f3bfcb059bbfd6aac25e62f.tar.gz
kiss: Fixed issue with dependencies not in repository.
FossilOrigin-Name: 5bf0aeaf56acc82b5d42b36a488072ad7bbbc080a5e843b631052d5c3e018333
-rwxr-xr-xkiss4
1 files changed, 2 insertions, 2 deletions
diff --git a/kiss b/kiss
index 90e918d..e3457e5 100755
--- a/kiss
+++ b/kiss
@@ -46,7 +46,7 @@ pkg_setup() {
}
pkg_depends() {
- while read -r dep opt; do
+ [ -f depends ] && while read -r dep opt; do
pkg_list "$dep" || {
[ "$1" = install ] && [ "$opt" = make ] && continue
@@ -57,7 +57,7 @@ pkg_depends() {
pkg_depends ;;
esac
}
- done 2>/dev/null < depends
+ done < depends
}
pkg_sources() {