Correct example.
[openssl.git] / shlib / svr5-shared-installed
1 #!/usr/bin/sh
2
3 major="0"
4 minor="9.7b"
5
6 slib=libssl
7 sh_slib=$slib.so.$major.$minor
8
9 clib=libcrypto
10 sh_clib=$clib.so.$major.$minor
11
12 # If you want them in /usr/local/lib then change INSTALLTOP to point there.
13 #INSTALLTOP=/usr/local/ssl/lib
14 INSTALLTOP=/usr/local/lib
15
16 cp -p $sh_clib $INSTALLTOP
17 cp -p $sh_slib $INSTALLTOP
18
19 PWD=`pwd`
20 cd $INSTALLTOP
21 rm -f $INSTALLTOP/$clib.so
22 ln -s $INSTALLTOP/$sh_clib $clib.so
23
24 rm -f $INSTALLTOP/$slib.so
25 ln -s $INSTALLTOP/$sh_slib $slib.so
26
27 cd $PWD