view darwinfixlib.sh @ 6752:224fe311f5f6

Huge patch by Jonas Jermann <jjermann@gmx.net> (1/2). I extracted all the cosmetic parts from the patch, removed the bitrot and added quite a few (also cosmetic) consistency, spelling and appearance changes. Columns are not broken at random anymore and should be readable now. We now have a good looking man page :-)
author diego
date Fri, 19 Jul 2002 01:24:15 +0000
parents 184f37880f90
children
line wrap: on
line source

#!/bin/sh
if [ `uname -s` = 'Darwin' ]; then
  echo "Fixing libs with ranlib for Darwin (MacOSX)"
  for i in $* ; do
    if (echo $i | grep \\.a) >/dev/null 2>&1; then
      echo "ranlib $i"
      (ranlib $i) >/dev/null 2>&1
    fi
  done
fi
exit 0