strip_files: skip this pass completely if $noarch is set.

This commit is contained in:
Juan RP 2010-12-11 01:53:14 +01:00
parent eaf3247352
commit ef9cfa20bf

View file

@ -47,7 +47,7 @@ strip_files_real()
if ! command -v strip 2>&1 >/dev/null; then
return 0
fi
[ -n "$nostrip" ] && return 0
[ -n "$nostrip" -o -n "$noarch" ] && return 0
if [ -n "$revision" ]; then
lver="${version}_${revision}"