From e96dd28c86bb07841f4c5501b46a2fa6bfddb88f Mon Sep 17 00:00:00 2001 From: Robin Mills Date: Fri, 20 Apr 2012 04:12:21 +0000 Subject: [PATCH] beautified the output --- contrib/makeUniversal | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/makeUniversal b/contrib/makeUniversal index c1063cfa..4b086c6b 100755 --- a/contrib/makeUniversal +++ b/contrib/makeUniversal @@ -18,7 +18,9 @@ for D in $(find . -name ".x86_64"); do if [ $? != '0' ]; then echo FAILED lipo -arch i386 $f -arch x86_64 $F -create -output $U else - echo $U $(lipo -info $U|sed -E -e "s/Architectures in the fat file://" -e "s/ are:/ : /") $(stat $U | cut -d' ' -f 2) + eval $(stat -s $U) + s=$(printf "%10s" ${st_size}) + echo $(lipo -info $U|sed -E -e "s/Architectures in the fat file://" -e "s/ are://" -e "s#$U##" ) "$s" $U fi fi done