temporary fix for symlink loop

This commit is contained in:
illiliti 2020-08-21 22:17:22 +03:00
parent 90fcb090d1
commit 601bca3510

View File

@ -215,7 +215,7 @@ copy_library()
# iterate throught symlinks and copy them
while [ -h "$library" ]; do symlink=$(ls -ld "$library")
cp -P "$library" "${tmpdir}/lib" || panic
library="${library%/*}/${symlink##* ->*[ /]}"
library="/lib/${symlink##* ->*[ /]}"
done
{