whitehash: Added to Makefile.
This commit is contained in:
parent
14f0bffe25
commit
2983f5dd8f
4
Makefile
4
Makefile
|
@ -2,8 +2,8 @@ CMD = blink bsearch burncpu duplicate-packets em encdir field forever \
|
||||||
G gitnext gitundo goodpasswd histogram mtrr mirrorpdf neno \
|
G gitnext gitundo goodpasswd histogram mtrr mirrorpdf neno \
|
||||||
off pdfman pidcmd plotpipe puniq ramusage rand rclean rina rn \
|
off pdfman pidcmd plotpipe puniq ramusage rand rclean rina rn \
|
||||||
rrm shython sound-reload stdout swapout T timestamp tracefile \
|
rrm shython sound-reload stdout swapout T timestamp tracefile \
|
||||||
transpose upsidedown vid w4it-for-port-open wifi-reload wssh \
|
transpose upsidedown vid w4it-for-port-open whitehash \
|
||||||
ytv yyyymmdd
|
wifi-reload wssh ytv yyyymmdd
|
||||||
|
|
||||||
all: blink/blink.1 bsearch/bsearch.1 burncpu/burncpu.1 \
|
all: blink/blink.1 bsearch/bsearch.1 burncpu/burncpu.1 \
|
||||||
encdir/encdir.1 G/G.1 gitnext/gitnext.1 gitundo/gitundo.1 \
|
encdir/encdir.1 G/G.1 gitnext/gitnext.1 gitundo/gitundo.1 \
|
||||||
|
|
|
@ -61,7 +61,8 @@ bits = searchlen*4
|
||||||
part = readparts();
|
part = readparts();
|
||||||
tabs = math.ceil(bits/3.0)
|
tabs = math.ceil(bits/3.0)
|
||||||
if tabs > len(part)-1:
|
if tabs > len(part)-1:
|
||||||
print("Too many bits",bits,tabs,len(part))
|
print("Too few tabs: %s hex values is %s bits which needs %d tabs and there are only %s"
|
||||||
|
% (searchlen,bits,tabs,len(part)))
|
||||||
exit(1);
|
exit(1);
|
||||||
|
|
||||||
part = mergeparts(tabs,part)
|
part = mergeparts(tabs,part)
|
||||||
|
|
Loading…
Reference in a new issue