Skip to content
Snippets Groups Projects
Commit f3580454 authored by Detlev Casanova's avatar Detlev Casanova
Browse files

ci-license-scan: Do not use _fg with sh

This is a special argument only useful for programs that need user
interaction.
The functionality side-steps a lot of sh's functionality which can cause
unstability in the output of the program.

See
https://amoffat.github.io/sh/sections/special_arguments.html#fg



Signed-off-by: default avatarDetlev Casanova <detlev.casanova@collabora.com>
parent 79b533a7
No related branches found
No related tags found
2 merge requests!261ci-license-scan: Do not use _fg with sh,!93WIP: documentation-builder: Rebase on Apertis instead of Debian Buster
Pipeline #393879 failed
...@@ -122,7 +122,7 @@ try: ...@@ -122,7 +122,7 @@ try:
except: except:
diff = sh.Command('diff') diff = sh.Command('diff')
copyrightdiff = diff.bake('-au', '--label=approved-copyright', '--label=unapproved-copyright', _fg=True) copyrightdiff = diff.bake('-au', '--label=approved-copyright', '--label=unapproved-copyright', _out=sys.stdout, _err=sys.stderr)
def merge_scan_patterns(*dicts): def merge_scan_patterns(*dicts):
""" """
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment