[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[scl.org] spec2scl needs a tty?



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():
        parser.error(
            'You must either specify specfile(s) or reading from stdin, not
            both.')

Does anyone know the reasoning behind this? 

-- 
Doran L. Barton <doran 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]