diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-07-21 21:38:34 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-07-21 21:38:34 +0000 |
commit | 4a900e4556b3efd46fde8a777f8cca4f53a74068 (patch) | |
tree | b22bb41b4663866c94c02fe5e5c586c583d14fa9 | |
parent | 45242244acd46f87cf9517ba527a529937c2cde0 (diff) | |
download | cpt-4a900e4556b3efd46fde8a777f8cca4f53a74068.tar.gz |
owns: Fix bug.
FossilOrigin-Name: 2bf8287e1373737cdb30164272c8f75abc0c43578e7d66f3dd36fabe287346cc
-rwxr-xr-x | kiss | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |