Merge pull request #561 from sigwinch28/use-env-for-shebangs

Use /usr/bin/env in shebangs
This commit is contained in:
Iceman 2020-02-21 15:24:50 +01:00 committed by GitHub
commit c0a30405e8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 27 additions and 27 deletions

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Andrei Costin <zveriu@gmail.com>, 2011 # Andrei Costin <zveriu@gmail.com>, 2011
# gen_pm3mfsim_script.sh # gen_pm3mfsim_script.sh

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -e set -e
. .coverity.conf || exit 1 . .coverity.conf || exit 1

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -e set -e
. .coverity.conf || exit 1 . .coverity.conf || exit 1

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -e set -e
. .coverity.conf || exit 1 . .coverity.conf || exit 1

2
pm3
View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Usage: run option -h to get help # Usage: run option -h to get help

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
PM3PATH=$(dirname "$0") PM3PATH=$(dirname "$0")
. "$PM3PATH/pm3" . "$PM3PATH/pm3"

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
PM3PATH=$(dirname "$0") PM3PATH=$(dirname "$0")
. "$PM3PATH/pm3" . "$PM3PATH/pm3"

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
PM3PATH=$(dirname "$0") PM3PATH=$(dirname "$0")
. "$PM3PATH/pm3" . "$PM3PATH/pm3"

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
PM3PATH=$(dirname "$0") PM3PATH=$(dirname "$0")
. "$PM3PATH/pm3" . "$PM3PATH/pm3"

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
PM3PATH=$(dirname "$0") PM3PATH=$(dirname "$0")
cd "$PM3PATH" || exit 1 cd "$PM3PATH" || exit 1

View file

@ -1,4 +1,4 @@
#! /usr/bin/python3 #! /usr/bin/env python3
import json import json
import subprocess import subprocess

View file

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/env python
# findbits.py - find Binary, Octal, Decimal or Hex number in bitstream # findbits.py - find Binary, Octal, Decimal or Hex number in bitstream
# #

View file

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/env python
from itertools import imap from itertools import imap
import unittest, sys, findbits import unittest, sys, findbits

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
if [ "$1" == "" ]; then if [ "$1" == "" ]; then
echo "runtest.sh testfile" echo "runtest.sh testfile"

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
cd $(dirname "$0") cd $(dirname "$0")
. openocd_configuration || exit 1 . openocd_configuration || exit 1

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
cd $(dirname "$0") cd $(dirname "$0")
. openocd_configuration || exit 1 . openocd_configuration || exit 1

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
cd $(dirname "$0") cd $(dirname "$0")
. openocd_configuration || exit 1 . openocd_configuration || exit 1

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl -w #!/usr/bin/env perl -w
# Output a version.c file that includes information about the current build # Output a version.c file that includes information about the current build
# Normally a couple of lines of bash would be enough (see openpcd project, original firmware by Harald Welte and Milosch Meriac) # Normally a couple of lines of bash would be enough (see openpcd project, original firmware by Harald Welte and Milosch Meriac)

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl #!/usr/bin/env perl
# #
# Read Amiibo data, decrypt, and produce EML file # Read Amiibo data, decrypt, and produce EML file
# Convert proxmark MFU (MIFARE Ultralight) .bin to .eml format # Convert proxmark MFU (MIFARE Ultralight) .bin to .eml format

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl #!/usr/bin/env perl
# #
# Convert proxmark3 trace or wav files to formats to be used by Inspectrum # Convert proxmark3 trace or wav files to formats to be used by Inspectrum
# #

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Andrei Costin <zveriu@gmail.com>, 2011 # Andrei Costin <zveriu@gmail.com>, 2011
# pm3_eml2lower.sh # pm3_eml2lower.sh

View file

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/env python
''' '''
# Andrei Costin <zveriu@gmail.com>, 2011 # Andrei Costin <zveriu@gmail.com>, 2011

View file

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Andrei Costin <zveriu@gmail.com>, 2011 # Andrei Costin <zveriu@gmail.com>, 2011
# pm3_eml2upper.sh # pm3_eml2upper.sh

View file

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/env python
from __future__ import with_statement from __future__ import with_statement
from tempfile import mkdtemp from tempfile import mkdtemp

View file

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/env python
''' '''
# Andrei Costin <zveriu@gmail.com>, 2011 # Andrei Costin <zveriu@gmail.com>, 2011

View file

@ -1,4 +1,4 @@
#!/usr/bin/perl #!/usr/bin/env perl
# -samy kamkar, rfid@samy.pl # -samy kamkar, rfid@samy.pl
use strict; use strict;

View file

@ -1,4 +1,4 @@
#!/usr/bin/python #!/usr/bin/env python
# xorcheck.py - find xor values for 8-bit LRC # xorcheck.py - find xor values for 8-bit LRC
# #