diff options
Diffstat (limited to 'src')
-rwxr-xr-x | src/scripts/ci_build.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/ci_build.py b/src/scripts/ci_build.py index f83a9eb1d..52b476c15 100755 --- a/src/scripts/ci_build.py +++ b/src/scripts/ci_build.py @@ -290,6 +290,8 @@ def main(args=None): print('Usage: %s [options] target' % (args[0])) return 1 + target = args[1] + py_interp = 'python' use_python2 = have_prog('python2') @@ -322,8 +324,6 @@ def main(args=None): # no benefit options.compiler_cache = None - target = args[1] - if target == 'sonar' and os.getenv('SONAR_TOKEN') is None: print('Skipping Sonar scan due to missing SONAR_TOKEN env variable') return 0 |