#! /bin/sh

# usage: oldranlib library.a

FILES=`ar t $1`

/bin/rm -f $1

echo $0: 'ar cq `lorder'" $FILES | "'tsort`'
ar cq `lorder $FILES | tsort`
