pre-0.9.3 development version.
[openssl.git] / crypto / ranlib.sh
1 #!/bin/sh
2
3 cwd=`pwd`
4 cd /tmp
5
6 if [ -s /bin/ranlib ] ; then 
7         RL=/bin/ranlib
8 else if [ -s /usr/bin/ranlib ] ; then
9         RL=/usr/bin/ranlib
10 fi
11 fi
12
13 if [ "x$RL" != "x" ]
14 then
15         case "$1" in
16                 /*)  
17                 $RL "$1"
18                 ;;
19                 *)
20                 $RL "$cwd/$1"
21                 ;;
22         esac
23 fi