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 12
12
./verify.sh bitcoin-core-0.12.0
13
13
./verify.sh bitcoin-core-0.13.0-rc3
14
14
```
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
108
108
exit 1
109
109
elif [ $? -gt 1 ]; then
110
110
echo " Error executing 'diff'"
111
- exit 2
111
+ exit 2
112
112
fi
113
113
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
116
121
117
122
echo -e " Verified hashes of \n$FILES "
118
123
You can’t perform that action at this time.
0 commit comments