fix bash + python3 shebangs (#33287)

fix shebangs
old-commit-hash: 1dcd66081531f4568a8de69637fc7a3f4ef3214f
This commit is contained in:
Maxime Desroches
2024-08-13 21:22:13 -07:00
committed by GitHub
parent b97ed10ea1
commit c551f1d239
44 changed files with 49 additions and 49 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
import os
import argparse
import threading
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
import sys
import termios
import atexit
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/usr/bin/env bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd $DIR
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/usr/bin/env bash
set -e
cd /sys/kernel/tracing
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -e
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/usr/bin/env bash
if [ ! -d perfetto ]; then
git clone https://android.googlesource.com/platform/external/perfetto/
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/usr/bin/env bash
DEST=tici:/data/openpilot/selfdrive/debug/profiling/perfetto
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/usr/bin/env bash
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
cd $DIR
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/usr/bin/env bash
curl -LO https://get.perfetto.dev/trace_processor
chmod +x ./trace_processor
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/usr/bin/env bash
DEST=tici:/data/openpilot/selfdrive/debug/profiling/perfetto
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# TODO: there's probably a better way to do this
+2 -2
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# install depends
sudo apt update
@@ -11,4 +11,4 @@ echo "deb https://download.mono-project.com/repo/ubuntu stable-xenial main" | su
sudo apt update
sudo apt-get install -y mono-complete
echo "Setup successful, you should now be able to run the profiler with cd SnapdragonProfiler and ./run_sdp.sh"
echo "Setup successful, you should now be able to run the profiler with cd SnapdragonProfiler and ./run_sdp.sh"
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/bash
#!/usr/bin/env bash
set -e
RUBYOPT="-W0" irqtop -d1 -R
+1 -1
View File
@@ -1,4 +1,4 @@
#! /bin/bash
#!/usr/bin/env bash
# TODO: remove this file once Rerun has interface to set log message level
set -e
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
import argparse
import os
import sys
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
while true; do
if ls /dev/serial/by-id/usb-FTDI_FT230X* 2> /dev/null; then
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
export PASSIVE="0"
export NOBOARD="1"
+1 -1
View File
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
import argparse
from typing import Any
+1 -1
View File
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# export the block below when call manager.py
export BLOCK="${BLOCK},camerad"