diff options
author | merakor <cem@ckyln.com> | 2020-05-04 10:24:50 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2020-05-04 10:24:50 +0000 |
commit | 40ceb8f388be5a3662ba53cf298b451ab4ec5c2a (patch) | |
tree | 8a9b0011a4beaa670f654acde3ee59d2ebbd64d8 /kiss | |
parent | 0897228d01ff2aae1b9773f2a93d6f9942dd241b (diff) | |
download | cpt-40ceb8f388be5a3662ba53cf298b451ab4ec5c2a.tar.gz |
kiss-readlink: add 'readlink -f' replacement
FossilOrigin-Name: 9e79f1a481f6d703182f086417f76c41b67e5ac180b9c3c79029cb151a770ec8
Diffstat (limited to 'kiss')
-rwxr-xr-x | kiss | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" |