[/opt/local/bin] # /opt/local/bin/bashdb /share/Public/veracrypt-1.16-setup-console-x64
Bourne-Again Shell Debugger, release bash-3.1-0.09
Copyright 2002, 2003, 2004, 2006, 2007 Rocky Bernstein
This is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
done.g /share/Public/veracrypt-1.16-setup-console-x64: [=====================================> ] 93%
(/share/Public/veracrypt-1.16-setup-console-x64:4):
4: CRCsum="1440104494"
bashdb<0> s
(/share/Public/veracrypt-1.16-setup-console-x64:5):
5: MD5="edd60459a497ac4101be200f2029faff"
bashdb<1> s
(/share/Public/veracrypt-1.16-setup-console-x64:6):
6: TMPROOT=${TMPDIR:=/tmp}
bashdb<2> s
(/share/Public/veracrypt-1.16-setup-console-x64:8):
8: label="VeraCrypt 1.16 Installer"
bashdb<3> s
(/share/Public/veracrypt-1.16-setup-console-x64:9):
9: script="./veracrypt_install_console_x64.sh"
bashdb<4> s
(/share/Public/veracrypt-1.16-setup-console-x64:10):
10: scriptargs=""
bashdb<5> s
(/share/Public/veracrypt-1.16-setup-console-x64:11):
11: targetdir="packaging"
bashdb<6> s
(/share/Public/veracrypt-1.16-setup-console-x64:12):
12: filesizes="3588741"
bashdb<7> s
(/share/Public/veracrypt-1.16-setup-console-x64:13):
13: keep=n
bashdb<8> s
(/share/Public/veracrypt-1.16-setup-console-x64:15):
15: print_cmd_arg=""
bashdb<9> s
(/share/Public/veracrypt-1.16-setup-console-x64:16):
16: if type printf > /dev/null; then
bashdb<10> s
(/share/Public/veracrypt-1.16-setup-console-x64:17):
17: print_cmd="printf"
bashdb<11> s
(/share/Public/veracrypt-1.16-setup-console-x64:24):
24: unset CDPATH
bashdb<12> s
(/share/Public/veracrypt-1.16-setup-console-x64:140):
140: finish=true
bashdb<13> s
(/share/Public/veracrypt-1.16-setup-console-x64:141):
141: xterm_loop=
bashdb<14> s
(/share/Public/veracrypt-1.16-setup-console-x64:142):
142: nox11=n
bashdb<15> s
(/share/Public/veracrypt-1.16-setup-console-x64:143):
143: copy=none
bashdb<16> s
(/share/Public/veracrypt-1.16-setup-console-x64:144):
144: ownership=y
bashdb<17> s
(/share/Public/veracrypt-1.16-setup-console-x64:145):
145: verbose=n
bashdb<18> s
(/share/Public/veracrypt-1.16-setup-console-x64:147):
147: initargs="$@"
bashdb<19> s
(/share/Public/veracrypt-1.16-setup-console-x64:149):
149: while true
bashdb<20> s
(/share/Public/veracrypt-1.16-setup-console-x64:151):
151: case "$1" in
bashdb<21> s
(/share/Public/veracrypt-1.16-setup-console-x64:270):
270: break ;;
bashdb<22> s
(/share/Public/veracrypt-1.16-setup-console-x64:274):
274: case "$copy" in
bashdb<23> s
(/share/Public/veracrypt-1.16-setup-console-x64:293):
293: if test "$nox11" = "n"; then
bashdb<24> s
(/share/Public/veracrypt-1.16-setup-console-x64:294):
294: if tty -s; then # Do we have a terminal?
bashdb<25> s
(/share/Public/veracrypt-1.16-setup-console-x64:295):
295: :
bashdb<26> s
(/share/Public/veracrypt-1.16-setup-console-x64:317):
317: if test "$targetdir" = "."; then
bashdb<27> s
(/share/Public/veracrypt-1.16-setup-console-x64:320):
320: if test "$keep" = y; then
bashdb<28> s
(/share/Public/veracrypt-1.16-setup-console-x64:325):
325: tmpdir="$TMPROOT/selfgz$$$RANDOM"
bashdb<29> s
(/share/Public/veracrypt-1.16-setup-console-x64:326):
326: dashp=""
bashdb<30> s
(/share/Public/veracrypt-1.16-setup-console-x64:328):
328: mkdir $dashp $tmpdir || {
bashdb<31> s
(/share/Public/veracrypt-1.16-setup-console-x64:336):
336: location="`pwd`"
bashdb<32> s
(/share/Public/veracrypt-1.16-setup-console-x64:336):
336: location="`pwd`"
pwd
bashdb<(33)> s
(/share/Public/veracrypt-1.16-setup-console-x64:337):
337: if test x$SETUP_NOCHECK != x1; then
bashdb<34> s
(/share/Public/veracrypt-1.16-setup-console-x64:338):
338: MS_Check "$0"
bashdb<35> s
(/share/Public/veracrypt-1.16-setup-console-x64:84):
84: {
bashdb<36> s
(/share/Public/veracrypt-1.16-setup-console-x64:85):
85: OLD_PATH="$PATH"
bashdb<37> s
(/share/Public/veracrypt-1.16-setup-console-x64:86):
86: PATH=${GUESS_MD5_PATH:-"$OLD_PATH:/bin:/usr/bin:/sbin:/usr/local/ssl/bin:/usr/local/bin:/opt/openssl/bin"}
bashdb<38> s
(/share/Public/veracrypt-1.16-setup-console-x64:87):
87: MD5_ARG=""
bashdb<39> s
(/share/Public/veracrypt-1.16-setup-console-x64:88):
88: MD5_PATH=`exec <&- 2>&-; which md5sum || type md5sum`
bashdb<40> s
(/share/Public/veracrypt-1.16-setup-console-x64:88):
88: MD5_PATH=`exec <&- 2>&-; which md5sum || type md5sum`
exec 0>&- 2>&-
bashdb<(41)> s
(/share/Public/veracrypt-1.16-setup-console-x64:88):
88: MD5_PATH=`exec <&- 2>&-; which md5sum || type md5sum`
which md5sum
bashdb<(42)> s
(/share/Public/veracrypt-1.16-setup-console-x64:89):
89: test -x "$MD5_PATH" || MD5_PATH=`exec <&- 2>&-; which md5 || type md5`
bashdb<43> s
(/share/Public/veracrypt-1.16-setup-console-x64:90):
90: test -x "$MD5_PATH" || MD5_PATH=`exec <&- 2>&-; which digest || type digest`
bashdb<44> s
(/share/Public/veracrypt-1.16-setup-console-x64:91):
91: PATH="$OLD_PATH"
bashdb<45> s
(/share/Public/veracrypt-1.16-setup-console-x64:93):
93: MS_Printf "Verifying archive integrity..."
bashdb<46> s
(/share/Public/veracrypt-1.16-setup-console-x64:27):
27: {
bashdb<47> s
(/share/Public/veracrypt-1.16-setup-console-x64:28):
28: $print_cmd $print_cmd_arg "$1"
bashdb<48> s
Verifying archive integrity...(/share/Public/veracrypt-1.16-setup-console-x64:94):
94: offset=`head -n 401 "$1" | wc -c | tr -d " "`
bashdb<49> s
(/share/Public/veracrypt-1.16-setup-console-x64:94):
94: offset=`head -n 401 "$1" | wc -c | tr -d " "`
head -n 401 "$1"
bashdb<(50)> s
(/share/Public/veracrypt-1.16-setup-console-x64:94):
94: offset=`head -n 401 "$1" | wc -c | tr -d " "`
wc -c
bashdb<(51)> s
(/share/Public/veracrypt-1.16-setup-console-x64:94):
94: offset=`head -n 401 "$1" | wc -c | tr -d " "`
tr -d " "
bashdb<(52)> s
(/share/Public/veracrypt-1.16-setup-console-x64:95):
95: verb=$2
bashdb<53> s
(/share/Public/veracrypt-1.16-setup-console-x64:96):
96: i=1
bashdb<54> s
(/share/Public/veracrypt-1.16-setup-console-x64:97):
97: for s in $filesizes
bashdb<55> s
(/share/Public/veracrypt-1.16-setup-console-x64:99):
99: crc=`echo $CRCsum | cut -d" " -f$i`
bashdb<56> s
(/share/Public/veracrypt-1.16-setup-console-x64:99):
99: crc=`echo $CRCsum | cut -d" " -f$i`
echo $CRCsum
bashdb<(57)> s
(/share/Public/veracrypt-1.16-setup-console-x64:99):
99: crc=`echo $CRCsum | cut -d" " -f$i`
cut -d" " -f$i
bashdb<(58)> s
(/share/Public/veracrypt-1.16-setup-console-x64:100):
100: if test -x "$MD5_PATH"; then
bashdb<59> s
(/share/Public/veracrypt-1.16-setup-console-x64:101):
101: if test `basename $MD5_PATH` = digest; then
bashdb<60> s
(/share/Public/veracrypt-1.16-setup-console-x64:101):
101: if test `basename $MD5_PATH` = digest; then
basename $MD5_PATH
bashdb<(61)> s
(/share/Public/veracrypt-1.16-setup-console-x64:104):
104: md5=`echo $MD5 | cut -d" " -f$i`
bashdb<62> s
(/share/Public/veracrypt-1.16-setup-console-x64:104):
104: md5=`echo $MD5 | cut -d" " -f$i`
echo $MD5
bashdb<(63)> s
(/share/Public/veracrypt-1.16-setup-console-x64:104):
104: md5=`echo $MD5 | cut -d" " -f$i`
cut -d" " -f$i
bashdb<(64)> s
(/share/Public/veracrypt-1.16-setup-console-x64:105):
105: if test $md5 = "00000000000000000000000000000000"; then
bashdb<65> s
(/share/Public/veracrypt-1.16-setup-console-x64:108):
108: md5sum=`MS_dd "$1" $offset $s | eval "$MD5_PATH $MD5_ARG" | cut -b-32`;
bashdb<66> s
(/share/Public/veracrypt-1.16-setup-console-x64:108):
108: md5sum=`MS_dd "$1" $offset $s | eval "$MD5_PATH $MD5_ARG" | cut -b-32`;
MS_dd "$1" $offset $s
bashdb<(67)> s
(/share/Public/veracrypt-1.16-setup-console-x64:108):
108: md5sum=`MS_dd "$1" $offset $s | eval "$MD5_PATH $MD5_ARG" | cut -b-32`;
eval "$MD5_PATH $MD5_ARG"
bashdb<(68)> s
(/share/Public/veracrypt-1.16-setup-console-x64:108):
108: md5sum=`MS_dd "$1" $offset $s | eval "$MD5_PATH $MD5_ARG" | cut -b-32`;
cut -b-32
bashdb<(69)> s
(/share/Public/veracrypt-1.16-setup-console-x64:109):
109: if test "$md5sum" != "$md5"; then
bashdb<70> s
(/share/Public/veracrypt-1.16-setup-console-x64:110):
110: echo "Error in MD5 checksums: $md5sum is different from $md5" >&2
bashdb<71> s
Error in MD5 checksums: d41d8cd98f00b204e9800998ecf8427e is different from edd60459a497ac4101be200f2029faff
(/share/Public/veracrypt-1.16-setup-console-x64:111):
111: exit 2
bashdb<72> s
(/share/Public/veracrypt-1.16-setup-console-x64:277):
277: mkdir "$tmpdir" || {
bashdb<73> s
Debugged program terminated with code 2. Use q to quit or R to restart.