maandree / util-say

Tools for creating ponies for cowsay and cowsay-like programs
GNU General Public License v3.0
60 stars 7 forks source link

missing ] on img2ponysay on line 22 #16

Closed JotaRandom closed 11 years ago

JotaRandom commented 11 years ago

img2ponysay --help give me this error: ´´´ $ img2ponysay --help /usr/bin/img2ponysay: line 22: [: missing `]' Exception in thread "main" java.io.FileNotFoundException: yes (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:138) at java.io.FileInputStream.(FileInputStream.java:97) at se.kth.maandree.utilsay.Image.importPony(Image.java:112) at se.kth.maandree.utilsay.Program.main(Program.java:118) $ ´´´ runing img2ponysay warn about the missing ] but for now work for transform img to pony-files

and ponysa -f ./pony.png -o make util-say shrink to half... but I not want it. a way to prevent it??

maandree commented 11 years ago

--help is not actually supported, (perhelps I will add it later))

I have fixed it, it was a missing spaces in an if statement.