Closed msimacek closed 7 years ago
spec2scl -i foo.spec works in a terminal, but not in a scripts:
spec2scl -i foo.spec
spec2scl: error: You must either specify specfile(s) or reading from stdin, not both.
That's due to checking whether stdin is a tty. Please don't make assumptions about stdin and remove the check.
Hi @msimacek ! Thanks for reporting the issue. The check was removed in within #30, could you please try it an let me know if it works for you?
Seems to work now. Thanks!
spec2scl -i foo.spec
works in a terminal, but not in a scripts:That's due to checking whether stdin is a tty. Please don't make assumptions about stdin and remove the check.