From 0180fa0e49b979ed40af44c5ae1dafd3af056037 Mon Sep 17 00:00:00 2001 From: jo Date: Thu, 27 May 2021 17:11:08 +0200 Subject: [PATCH] Fix shebangs --- .github/scripts/install-bionic.sh | 2 +- .github/scripts/install-xenial.sh | 2 +- .github/scripts/python-pkg-install.sh | 5 +++-- .github/scripts/python-pkg-test.sh | 2 +- .github/scripts/release.sh | 2 +- python_apps/airtime_analyzer/airtime_analyzer/cli.py | 0 6 files changed, 7 insertions(+), 6 deletions(-) mode change 100755 => 100644 python_apps/airtime_analyzer/airtime_analyzer/cli.py diff --git a/.github/scripts/install-bionic.sh b/.github/scripts/install-bionic.sh index 925ef9364..e5eb0ed19 100755 --- a/.github/scripts/install-bionic.sh +++ b/.github/scripts/install-bionic.sh @@ -1,4 +1,4 @@ -#/bin/bash +#!/usr/bin/env bash # Adding repos and packages add-apt-repository -y ppa:libretime/libretime diff --git a/.github/scripts/install-xenial.sh b/.github/scripts/install-xenial.sh index 925ef9364..e5eb0ed19 100755 --- a/.github/scripts/install-xenial.sh +++ b/.github/scripts/install-xenial.sh @@ -1,4 +1,4 @@ -#/bin/bash +#!/usr/bin/env bash # Adding repos and packages add-apt-repository -y ppa:libretime/libretime diff --git a/.github/scripts/python-pkg-install.sh b/.github/scripts/python-pkg-install.sh index f2ea20314..89569b228 100755 --- a/.github/scripts/python-pkg-install.sh +++ b/.github/scripts/python-pkg-install.sh @@ -1,8 +1,9 @@ -#/bin/bash +#!/usr/bin/env bash + echo "::group::Install Python apps" pip3 install nose mock -for app in `ls python_apps`; do +for app in $(ls python_apps); do pip3 install -e python_apps/$app done echo "::endgroup::" diff --git a/.github/scripts/python-pkg-test.sh b/.github/scripts/python-pkg-test.sh index 55f1249c2..8a19167f4 100755 --- a/.github/scripts/python-pkg-test.sh +++ b/.github/scripts/python-pkg-test.sh @@ -1,4 +1,4 @@ -#/bin/bash +#!/usr/bin/env bash failed='f' # Starting at repo root diff --git a/.github/scripts/release.sh b/.github/scripts/release.sh index e1c53d6f9..a09c1e42c 100755 --- a/.github/scripts/release.sh +++ b/.github/scripts/release.sh @@ -1,4 +1,4 @@ -#/bin/bash +#!/usr/bin/env bash #release.sh 1.8.2 #creates a libretime folder with a "1.8.2" suffix diff --git a/python_apps/airtime_analyzer/airtime_analyzer/cli.py b/python_apps/airtime_analyzer/airtime_analyzer/cli.py old mode 100755 new mode 100644