aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-05-04 10:24:50 +0000
committermerakor <cem@ckyln.com>2020-05-04 10:24:50 +0000
commit40ceb8f388be5a3662ba53cf298b451ab4ec5c2a (patch)
tree8a9b0011a4beaa670f654acde3ee59d2ebbd64d8 /kiss
parent0897228d01ff2aae1b9773f2a93d6f9942dd241b (diff)
downloadcpt-40ceb8f388be5a3662ba53cf298b451ab4ec5c2a.tar.gz
kiss-readlink: add 'readlink -f' replacement
FossilOrigin-Name: 9e79f1a481f6d703182f086417f76c41b67e5ac180b9c3c79029cb151a770ec8
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss4
1 files changed, 2 insertions, 2 deletions
diff --git a/kiss b/kiss
index 59d6de5..45d6023 100755
--- a/kiss
+++ b/kiss
@@ -448,7 +448,7 @@ pkg_fixdeps() {
# canonicalize the path.
dep=${dep#* => }
dep=${dep% *}
- dep=$(readlink -f "$dep")
+ dep=$(kiss-readlink "$dep")
# Figure out which package owns the file.
own=$("$grep" -lFx "${dep#$KISS_ROOT}" "$@")
@@ -746,7 +746,7 @@ pkg_conflicts() {
case $file in */) continue; esac
printf '%s/%s\n' \
- "$(readlink -f "$KISS_ROOT/${file%/*}" 2>/dev/null)" \
+ "$(kiss-readlink "$KISS_ROOT/${file%/*}" 2>/dev/null)" \
"${file##*/}"
done < "$tar_dir/$1/$pkg_db/$1/manifest" > "$cac_dir/$pid-m"