diff options
author | merakor <cem@ckyln.com> | 2020-05-03 16:27:46 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2020-05-03 16:27:46 +0000 |
commit | 212cc3329fb37b02867a0efc33dc9ae6e8b731c2 (patch) | |
tree | 8a1f13cce6aa795444ea4331751f4fa87884d8ee /kiss | |
parent | 08a64b4ed7409014e848fde529905b906f86b3cd (diff) | |
download | cpt-212cc3329fb37b02867a0efc33dc9ae6e8b731c2.tar.gz |
kiss: use our own version of stat for portability purposes.
FossilOrigin-Name: 44c082a4672f3de9f932cd7262e2d8b4cba2fc590750db9b1fefc38673910045
Diffstat (limited to 'kiss')
-rwxr-xr-x | kiss | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1167,7 +1167,7 @@ pkg_fetch() { # ownership of files and directories in the rare # case that the repository is owned by a 3rd user. ( - user=$(stat -c %U "$PWD") || user=root + user=$(kiss-stat "$PWD") || user=root id -u "$user" >/dev/null 2>&1 || user=root @@ -1353,7 +1353,7 @@ args() { else log "$pkg" "Need permissions to generate checksums" - user=$(stat -c %U "$repo_dir") as_root tee "$repo_dir/checksums" + user=$(kiss-stat "$repo_dir") as_root tee "$repo_dir/checksums" fi } |