mirror of
https://github.com/qca/qca-swiss-army-knife.git
synced 2026-01-27 17:07:18 +01:00
scripts: use /usr/bin/env python3
Using #!/usr/bin/env python3 instead of #!/usr/bin/python3 in the shebang line of a script is generally considered better practice for portability and flexibility. * env uses the user's PATH environment variable to locate python3 * Using env avoids hardcoding the path, making your script more portable. * Works well with virtual environments: Signed-off-by: Nicolas Dechesne <nicolas.dechesne@oss.qualcomm.com>
This commit is contained in:
parent
7c191e5530
commit
2795c05492
8 changed files with 8 additions and 8 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python3
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
# Copyright (c) 2015 Qualcomm Atheros, Inc.
|
||||
# Copyright (c) 2018, The Linux Foundation. All rights reserved.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python3
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
# Copyright (c) 2016 Qualcomm Atheros, Inc.
|
||||
# Copyright (c) 2018, The Linux Foundation. All rights reserved.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python3
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
# Copyright (c) 2012-2015 Qualcomm Atheros, Inc.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python3
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
# Copyright (c) 2016 Qualcomm Atheros, Inc.
|
||||
# Copyright (c) 2018,2020 The Linux Foundation. All rights reserved.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python3
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
# Copyright (c) 2012-2015 Qualcomm Atheros, Inc.
|
||||
# Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python3
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
# Copyright (c) 2016 Qualcomm Atheros, Inc.
|
||||
# Copyright (c) 2018,2020 The Linux Foundation. All rights reserved.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python3
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
# Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved
|
||||
# Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python3
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
# Copyright (c) 2010 Atheros Communications Inc.
|
||||
#
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue