"Fossies" - the Fresh Open Source Software Archive

Member "openssl-1.0.2q/shlib/sco5-shared-installed" (20 Nov 2018, 477 Bytes) of package /linux/misc/openssl-1.0.2q.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/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
   28