[scl.org] spec2scl needs a tty?

Doran Barton doran at bluehost.com
Fri Mar 4 21:53:55 UTC 2016

We are working on automating RPM builds (including SCL builds) using
Bamboo. Our automated scripts work great when we run them at the command
line, but when we run them via Bamboo, they fail because there is a
line that calls 'spec2scl' and spec2scl has code in it like this:

    if len(args.specfiles) > 0 and not sys.stdin.isatty():
            'You must either specify specfile(s) or reading from stdin, not

Does anyone know the reasoning behind this? 

Doran L. Barton <doran at bluehost.com> - Senior Developer at Bluehost
 "We want to do and get good things because we want to enjoy the memories."
    -- Seen on a body sponge wrapper in Japan

More information about the SCLorg mailing list