aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
Diffstat (limited to 'kiss')
-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() {