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 08377f9..a9b5ff7 100755
--- a/kiss
+++ b/kiss
@@ -931,8 +931,8 @@ args() {
# Check which package owns a file.
o*)
shift
- [ "$1" ] || die "'kiss owns' requires an argument."
- [ -f "$1" ] || die "File '$1' doesn't exist."
+ [ "$1" ] || die "'kiss owns' requires an argument."
+ [ -f "$KISS_ROOT/$1" ] || die "File '$1' doesn't exist."
set +f
pkg_owns=$(grep -lFx "$1" "$KISS_ROOT/$pkg_db/"*/manifest)