File tree Expand file tree Collapse file tree 2 files changed +14
-3
lines changed
Expand file tree Collapse file tree 2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change 1212./verify.sh bitcoin-core-0.12.0
1313./verify.sh bitcoin-core-0.13.0-rc3
1414```
15+
16+ If you do not want to keep the downloaded binaries, specify anything as the second parameter.
17+
18+ ``` sh
19+ ./verify.sh bitcoin-core-0.13.0 delete
20+ ```
Original file line number Diff line number Diff line change @@ -108,11 +108,16 @@ if [ $? -eq 1 ]; then
108108 exit 1
109109elif [ $? -gt 1 ]; then
110110 echo " Error executing 'diff'"
111- exit 2
111+ exit 2
112112fi
113113
114- # everything matches! clean up the mess
115- clean_up $FILES $SIGNATUREFILENAME $TMPFILE
114+ if [ -n " $2 " ]; then
115+ echo " Clean up the binaries"
116+ clean_up $FILES $SIGNATUREFILENAME $TMPFILE
117+ else
118+ echo " Keep the binaries in $WORKINGDIR "
119+ clean_up $TMPFILE
120+ fi
116121
117122echo -e " Verified hashes of \n$FILES "
118123
You can’t perform that action at this time.
0 commit comments