mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
24 lines
240 B
Bash
24 lines
240 B
Bash
|
#!/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
|