"Fossies" - the Fresh Open Source Software Archive

Member "links-1.03/wipe-out-ssl" (31 Dec 2000, 572 Bytes) of archive /linux/www/links-1.03.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 for i in *.c links.h configure.in configure; do
    3     awk -f wipe-out-ssl.awk <$i >wipe-out-ssl.tmp
    4     mv wipe-out-ssl.tmp $i
    5 done
    6 sed 's/^\(#define VERSION ".*\)"/\1-no-ssl"/' <config2.h | sed 's/-no-ssl-no-ssl/-no-ssl/g' >wipe-out-ssl.tmp
    7 mv wipe-out-ssl.tmp config2.h
    8 sed 's/^\(AM_INIT_AUTOMAKE(.*, .*\))/\1-no-ssl)/' <configure.in | sed 's/-no-ssl-no-ssl/-no-ssl/g' >wipe-out-ssl.tmp
    9 mv wipe-out-ssl.tmp configure.in
   10 sed 's/^\(VERSION=.*\)/\1-no-ssl/' <configure | sed 's/-no-ssl-no-ssl/-no-ssl/g' >wipe-out-ssl.tmp
   11 mv wipe-out-ssl.tmp configure
   12 chmod +x configure