From 6b2fcb610a06100f9540acc655357c22917940ec Mon Sep 17 00:00:00 2001 From: Maciej Kisielewski Date: Wed, 23 Nov 2016 14:26:31 +0100 Subject: change shebangs to use python3 from env, not /usr/bin/python3 This makes debugging and testing _a bit_ easier, as 'venv'd' checkbox_support will be used. Signed-off-by: Maciej Kisielewski --- bin/ansi_parser | 2 +- bin/audio_driver_info | 2 +- bin/audio_settings | 2 +- bin/brightness_test | 2 +- bin/color_depth_info | 2 +- bin/fresh_rate_info | 2 +- bin/gateway_ping_test | 2 +- bin/gpu_test | 2 +- bin/gputest_benchmark | 2 +- bin/graphic_memory_info | 2 +- bin/graphics_modes_info | 2 +- bin/graphics_stress_test | 2 +- bin/hdd_parking | 2 +- bin/mm-test | 2 +- bin/rendercheck_test | 2 +- bin/rotation_test | 2 +- bin/sleep_test | 2 +- bin/volume_test | 2 +- bin/window_test | 2 +- bin/xml_sanitize | 2 +- 20 files changed, 20 insertions(+), 20 deletions(-) diff --git a/bin/ansi_parser b/bin/ansi_parser index 9082609..c7cf26c 100755 --- a/bin/ansi_parser +++ b/bin/ansi_parser @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import sys from optparse import OptionParser diff --git a/bin/audio_driver_info b/bin/audio_driver_info index a058064..b9bfaf8 100755 --- a/bin/audio_driver_info +++ b/bin/audio_driver_info @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import sys import re diff --git a/bin/audio_settings b/bin/audio_settings index 847d620..91978be 100755 --- a/bin/audio_settings +++ b/bin/audio_settings @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import sys diff --git a/bin/brightness_test b/bin/brightness_test index 5e114f5..818796e 100755 --- a/bin/brightness_test +++ b/bin/brightness_test @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # brightness_test diff --git a/bin/color_depth_info b/bin/color_depth_info index a8a42df..4137193 100755 --- a/bin/color_depth_info +++ b/bin/color_depth_info @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # color_depth_info diff --git a/bin/fresh_rate_info b/bin/fresh_rate_info index 7102067..838e5a6 100755 --- a/bin/fresh_rate_info +++ b/bin/fresh_rate_info @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # fresh_rate_info diff --git a/bin/gateway_ping_test b/bin/gateway_ping_test index 87af5d3..22aec6a 100755 --- a/bin/gateway_ping_test +++ b/bin/gateway_ping_test @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # This file is part of Checkbox. # # Copyright 2007-2014 Canonical Ltd. diff --git a/bin/gpu_test b/bin/gpu_test index 028eedc..bd22acc 100755 --- a/bin/gpu_test +++ b/bin/gpu_test @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # Copyright 2013 Canonical Ltd. # Written by: # Sylvain Pineau diff --git a/bin/gputest_benchmark b/bin/gputest_benchmark index 99af634..4748e71 100755 --- a/bin/gputest_benchmark +++ b/bin/gputest_benchmark @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # This file is part of Checkbox. # # Copyright 2013 Canonical Ltd. diff --git a/bin/graphic_memory_info b/bin/graphic_memory_info index 46f3dee..f9f8f64 100755 --- a/bin/graphic_memory_info +++ b/bin/graphic_memory_info @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # graphic_memory_info diff --git a/bin/graphics_modes_info b/bin/graphics_modes_info index 90b887f..c585324 100755 --- a/bin/graphics_modes_info +++ b/bin/graphics_modes_info @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # graphics_modes_info diff --git a/bin/graphics_stress_test b/bin/graphics_stress_test index f930bf5..bab2221 100755 --- a/bin/graphics_stress_test +++ b/bin/graphics_stress_test @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # graphics_stress_test diff --git a/bin/hdd_parking b/bin/hdd_parking index 18151b4..6d34904 100755 --- a/bin/hdd_parking +++ b/bin/hdd_parking @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # hdd_parking diff --git a/bin/mm-test b/bin/mm-test index 2c177aa..236504a 100755 --- a/bin/mm-test +++ b/bin/mm-test @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- # # This program is free software; you can redistribute it and/or modify diff --git a/bin/rendercheck_test b/bin/rendercheck_test index f7d907c..89e07e9 100755 --- a/bin/rendercheck_test +++ b/bin/rendercheck_test @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # rendercheck_test diff --git a/bin/rotation_test b/bin/rotation_test index 5187401..258a881 100755 --- a/bin/rotation_test +++ b/bin/rotation_test @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # rotation_test diff --git a/bin/sleep_test b/bin/sleep_test index f28b0a0..423fd6c 100755 --- a/bin/sleep_test +++ b/bin/sleep_test @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 ''' Program to automate system entering and resuming from sleep states diff --git a/bin/volume_test b/bin/volume_test index d254192..a949f93 100755 --- a/bin/volume_test +++ b/bin/volume_test @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import sys import re diff --git a/bin/window_test b/bin/window_test index e6bff73..23b6f3b 100755 --- a/bin/window_test +++ b/bin/window_test @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # window_test diff --git a/bin/xml_sanitize b/bin/xml_sanitize index 0cdbc8e..7d43b83 100755 --- a/bin/xml_sanitize +++ b/bin/xml_sanitize @@ -1,4 +1,4 @@ -#!/usr/bin/python3 +#!/usr/bin/env python3 import errno import io import sys -- cgit v1.2.3