aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-07-21 21:38:34 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-07-21 21:38:34 +0000
commit4a900e4556b3efd46fde8a777f8cca4f53a74068 (patch)
treeb22bb41b4663866c94c02fe5e5c586c583d14fa9
parent45242244acd46f87cf9517ba527a529937c2cde0 (diff)
downloadcpt-4a900e4556b3efd46fde8a777f8cca4f53a74068.tar.gz
owns: Fix bug.
FossilOrigin-Name: 2bf8287e1373737cdb30164272c8f75abc0c43578e7d66f3dd36fabe287346cc
-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)