aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/ranlib.sh
blob: 543f712c6ba7b87fd1036003c339b75462ca29df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

cwd=`pwd`
cd /tmp

if [ -s /bin/ranlib ] ; then 
	RL=/bin/ranlib
else if [ -s /usr/bin/ranlib ] ; then
	RL=/usr/bin/ranlib
fi
fi

if [ "x$RL" != "x" ]
then
	case "$1" in
		/*)  
		$RL "$1"
		;;
		*)
		$RL "$cwd/$1"
		;;
	esac
fi