From e8fa6b8c194091acef1d111663fa46400f75b47b Mon Sep 17 00:00:00 2001 From: VHSgunzo Date: Fri, 8 Nov 2024 15:09:47 +0300 Subject: [PATCH] v0.0.9 --- Cargo.toml | 4 ++-- lib4bin | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 83d308a..34a115b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sharun" -version = "0.0.8" +version = "0.0.9" readme = "README.md" license = "MIT" repository = "https://github.com/VHSgunzo/sharun" @@ -21,4 +21,4 @@ opt-level = 0 [dependencies] walkdir = "2.5.0" -userland-execve = "0.2.0" \ No newline at end of file +userland-execve = "0.2.0" diff --git a/lib4bin b/lib4bin index 2ad3ee1..0b365df 100755 --- a/lib4bin +++ b/lib4bin @@ -117,7 +117,7 @@ get_libs() { [ -n "$2" ] && local needed_libs="$2"||\ local needed_libs="$(print_needed "$1")" local libs="$(([ -z "$needed_libs" ]||\ - grep -E "$(tr '\n' '$|'<<<"$needed_libs")libpthread.so.0$"<<<"$ALL_LIBS" ; \ + grep -E "$(tr '\n' '|'<<<"$needed_libs"|sed 's|\||$\||g')libpthread.so.0$"<<<"$ALL_LIBS" ; \ ldd_libs "$1")|sort -u)" [ -n "$IS_ELF32" ] && \ local libs="$(grep -vE '/lib/|/lib64/|/x86_64-linux-gnu/'<<<"$libs")"||\