diff options
Diffstat (limited to 'autodeps.sh')
-rw-r--r-- | autodeps.sh | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/autodeps.sh b/autodeps.sh index 3402c96b4..6347d4bf1 100644 --- a/autodeps.sh +++ b/autodeps.sh @@ -1,10 +1,5 @@ #!/bin/bash export PATH=${PKG_BASE}/util:$PATH -DEPSDIR="${PKG_STAT}"/deps -if [ ! -d "${DEPSDIR}" ]; then - mkdir "${DEPSDIR}" -fi -rm -f "${PKG_STAT}"/dest-deps || true declare -a PKG_DPKG_DEPS declare -a PKG_MISSING_DEPS for dep in "${PKG_DEPS[@]}"; do @@ -27,7 +22,7 @@ declare -a deps deps=($(find -L "${PKG_DATA}"/_metadata -name '*.dep' | sed -e 's/^.*\///' -e 's/\.dep$//' | sort -u)) #echo Current Depends: $(IFS=','; echo "${PKG_DPKG_DEPS[*]}" | sed -e 's/,/, /g') -for bin in $(find "${PKG_DEST}" -type f \( -perm -0100 -o -name '*.dylib' -o -name '*.so' \) -print0); do +for bin in $(find "${PKG_DEST}" -type f \( -perm -0100 -o -name '*.dylib' -o -name '*.so' \)); do case "$(file "${bin}")" in (\ *': Mach-O fat file with '*([0-9])' architecture' |\ *': '*(setuid |setgid )'Mach-O 64-bit executable arm64' |\ |