mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-09-20 07:16:14 +08:00
Use /usr/bin/env in shebangs
Stop assuming that bash is in /bin, and that perl and python are in /usr/bin, etc. Instead, use env command to find these commands in the path.
This commit is contained in:
parent
bf66d66114
commit
7d157606ee
|
@ -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
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
. .coverity.conf || exit 1
|
. .coverity.conf || exit 1
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
. .coverity.conf || exit 1
|
. .coverity.conf || exit 1
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
. .coverity.conf || exit 1
|
. .coverity.conf || exit 1
|
||||||
|
|
2
pm3
2
pm3
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# Usage: run option -h to get help
|
# Usage: run option -h to get help
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
PM3PATH=$(dirname "$0")
|
PM3PATH=$(dirname "$0")
|
||||||
. "$PM3PATH/pm3"
|
. "$PM3PATH/pm3"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
PM3PATH=$(dirname "$0")
|
PM3PATH=$(dirname "$0")
|
||||||
. "$PM3PATH/pm3"
|
. "$PM3PATH/pm3"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
PM3PATH=$(dirname "$0")
|
PM3PATH=$(dirname "$0")
|
||||||
. "$PM3PATH/pm3"
|
. "$PM3PATH/pm3"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
PM3PATH=$(dirname "$0")
|
PM3PATH=$(dirname "$0")
|
||||||
cd "$PM3PATH" || exit 1
|
cd "$PM3PATH" || exit 1
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#! /usr/bin/python3
|
#! /usr/bin/env python3
|
||||||
|
|
||||||
import json
|
import json
|
||||||
import subprocess
|
import subprocess
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
if [ "$1" == "" ]; then
|
if [ "$1" == "" ]; then
|
||||||
echo "runtest.sh testfile"
|
echo "runtest.sh testfile"
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
cd $(dirname "$0")
|
cd $(dirname "$0")
|
||||||
. openocd_configuration || exit 1
|
. openocd_configuration || exit 1
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
cd $(dirname "$0")
|
cd $(dirname "$0")
|
||||||
. openocd_configuration || exit 1
|
. openocd_configuration || exit 1
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
cd $(dirname "$0")
|
cd $(dirname "$0")
|
||||||
. openocd_configuration || exit 1
|
. openocd_configuration || exit 1
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
#
|
#
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue