v icon indicating copy to clipboard operation
v copied to clipboard

Fix i variable

Open pevik opened this issue 10 years ago • 0 comments

Please merge this fix. Because you don't initialize i variable, script broke, if user have it defined as string (path for example).

Test broken behaviour which pull request fixes: export i=/tmp/; ./v ./v: line 36: /tmp/: syntax error: operand expected (error token is "/tmp/") ./v: line 43: [: /tmp/: integer expression expected

pevik avatar Sep 16 '15 20:09 pevik