Debian Codegraph @

ReleaseTools/check-ssl

raw symbols SCIP
1 #!/usr/bin/envscip-shell filesystem . . `/usr/bin/env`. bash
2
3 # Check the OpenSSL DLL link.
4
5 link="Win32OpenSSL_Light"
6 urlfile=Webpage/openssl-url.txt
7
8 # Check that we are in the right place.
9 if [scip-shell system . . `[`. ! -f $urlfile ]
10 then echoscip-shell system . . echo. >&2 "Must run from top of tree."
11 exit 1
12 fi
13
14 # Get the URL.
15 . $urlfile
16
17 # Set up the temp file.
18 tf=/tmp/ch.$$
19 rmscip-shell system . . rm. -f $tf
20 rc=0
21
22 # See if it's accessible.
23 if wget $URL32 -O /dev/nullscip-shell filesystem . . `/dev/null`. >$tf 2>&1
24 then echoscip-shell system . . echo. "The link is still good."
25 else echoscip-shell system . . echo. "*** FAILURE ***"
26 catscip-shell system . . cat. $tf
27 rc=1
28 fi
29
30 rmscip-shell system . . rm. -f $tf
31 exit $rc