Merge pull request #54 from MultiBuds/use-usr-bin-env-for-scripts

refactor(scripts): Use `#!/usr/bin/env` as part of shebang
This commit is contained in:
Ben V. Brown 2023-05-19 10:11:49 +10:00 committed by GitHub
commit 7b19212153
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 7 additions and 7 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
BKPPATH="firmware-backups"

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
if make -j "$(nproc)" T=open_source DEBUG=1 >log.txt 2>&1; then
echo "build success"

View file

@ -1,3 +1,3 @@
#!/bin/sh
#!/usr/bin/env sh
make -j "$(nproc)" T=open_source DEBUG=1 clean

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
txt_to_wav() {
hash="$(md5sum "$1" | cut -d ' ' -f 1)"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
num=$(find /dev -name 'ttyACM*' | sort | rev | cut -c 1)
echo com is: "$num"

View file

@ -1,2 +1,2 @@
#!/bin/sh
#!/usr/bin/env sh
docker-compose run --rm builder

View file

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
num=$(find /dev -name 'ttyUSB*' | rev | cut -c 1)
echo "$num"