From ed2110fe0d90653e68406bdf62b33287a41b82f4 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Thu, 06 Mar 2014 11:18:15 -0500 Subject: src/*.sh: Wrap long lines. --- (limited to 'src/oh-strip.sh') diff --git a/src/oh-strip.sh b/src/oh-strip.sh index b104473..45dd1b8 100644 --- a/src/oh-strip.sh +++ b/src/oh-strip.sh @@ -48,7 +48,8 @@ main() find "${dir}" -type f -a ! -path '*/debug/*' -a -name '*.so*' | \ while IFS="${CR}" read file; do - if file "${file}" | grep 'ELF.*shared' >/dev/null 2>&1; then + if file "${file}" | grep 'ELF.*shared' \ + >/dev/null 2>&1; then file="${file#${dir}}" file="/${file##/}" strip_so "${file}" @@ -65,8 +66,8 @@ main() fi done - find "${dir}" -type f -a ! -path '*/debug/*' \ - -a -name 'lib*.a' -a ! -name '*_g.a' | while IFS="{CR}" read file; do + find "${dir}" -type f -a ! -path '*/debug/*' -a -name 'lib*.a' \ + -a ! -name '*_g.a' | while IFS="{CR}" read file; do file="${file#${dir}}" file="/${file##/}" strip_a "${file}" @@ -130,8 +131,8 @@ keep_debug() return fi - build_id_parts="$(${READELF} -n "${dir}/${file}" | \ - sed -n 's/^.*Build ID: \([0-9a-f][0-9a-f]\)\([0-9a-f]*\)$/\1 \2/p')" + build_id_parts="$(${READELF} -n "${dir}/${file}" | sed -n \ + 's/^.*Build ID: \([0-9a-f][0-9a-f]\)\([0-9a-f]*\)$/\1 \2/p')" if [ -z "${build_id_parts}" ]; then return fi -- cgit v0.9.1