Lines 23-46
LaunchBinary()
Link Here
|
23 |
} |
23 |
} |
24 |
|
24 |
|
25 |
|
25 |
|
26 |
MkTemp() |
|
|
27 |
{ |
28 |
if [ "${mktemp_count+set}" != "set" ]; then |
29 |
mktemp_count="0" |
30 |
fi |
31 |
|
32 |
mktemp_file="/tmp/acrobat.$$.${mktemp_count}" |
33 |
|
34 |
while /usr/bin/test -e "$mktemp_file" |
35 |
do |
36 |
mktemp_count="`expr $mktemp_count + 1`" |
37 |
mktemp_file="/tmp/adobe.$$.${mktemp_count}" |
38 |
done |
39 |
|
40 |
touch "$mktemp_file" && chmod 644 "$mktemp_file" && echo "$mktemp_file" |
41 |
} |
42 |
|
43 |
|
44 |
readlink() |
26 |
readlink() |
45 |
{ |
27 |
{ |
46 |
OLDPWD="`/bin/pwd`" |
28 |
OLDPWD="`/bin/pwd`" |
Lines 172-180
InstallCertificate()
Link Here
|
172 |
#$3 is port |
154 |
#$3 is port |
173 |
RETVAL=0 |
155 |
RETVAL=0 |
174 |
INSTALL_DIR="$1" |
156 |
INSTALL_DIR="$1" |
175 |
LOGFILE="`MkTemp /tmp/ssl_logXXXXXX`" |
157 |
LOGFILE="`mktemp /tmp/ssl_logXXXXXX`" |
176 |
CERTNAME="`MkTemp /tmp/certi.cerXXXXXX`" |
158 |
CERTNAME="`mktemp /tmp/certi.cerXXXXXX`" |
177 |
CERTDATA="`MkTemp /tmp/certDataXXXXXX`" |
159 |
CERTDATA="`mktemp /tmp/certDataXXXXXX`" |
178 |
|
160 |
|
179 |
CertificateInstallDirectory="$HOME/.adobe/Acrobat/$majorRelease/Cert" |
161 |
CertificateInstallDirectory="$HOME/.adobe/Acrobat/$majorRelease/Cert" |
180 |
|
162 |
|