ca-scripts icon indicating copy to clipboard operation
ca-scripts copied to clipboard

integer expression expected

Open controlcde opened this issue 13 years ago • 3 comments

I´ll try ca-scripts with debian squeeze with following versions:

GNU bash, version 4.1.5(1) OpenSSL 0.9.8o 01 Jun 2010 date (GNU coreutils) 8.5

and I get the following error by executing ca-init

/usr/bin/ca-init: line 62: [: : integer expression expected /usr/bin/ca-init: line 65: [: : integer expression expected /usr/bin/ca-init: line 69: [: : integer expression expected /usr/bin/ca-init: line 79: [: : integer expression expected

Do you know the error?

controlcde avatar Jan 30 '13 13:01 controlcde

Ooo that looks broken. No guarantees I'll have time to fix it, sorry. Pull requests accepted!

fluffle avatar Jan 31 '13 17:01 fluffle

This is due to the vars not being initialized, adding this at the beginning of the script fixes it:

CRT_ONLY=0
CNF_ONLY=0

Dirbaio avatar Jun 28 '15 15:06 Dirbaio

I believe PR#4 fixed all this? ;)

erenfro avatar Aug 05 '15 14:08 erenfro