Browse Source

build-package.sh: use 'readlink' to get value of symlink

android-5
Leonid Plyushch 6 years ago
parent
commit
b93bde6f70
  1. 2
      build-package.sh

2
build-package.sh

@ -1149,7 +1149,7 @@ termux_step_massage() {
while IFS= read -r -d '' file while IFS= read -r -d '' file
do do
local _link_value local _link_value
_link_value=$(ls -l $file | cut -d ">" -f2 | tr -d " ") _link_value=$(readlink $file)
rm $file rm $file
ln -s $_link_value.gz $file.gz ln -s $_link_value.gz $file.gz
done < <(find share/man -type l -print0) done < <(find share/man -type l -print0)

Loading…
Cancel
Save