Remove hard coded paths in shebang lines

Remove hard coded paths from shebangs and other references because they
do not play well in nix-land. Either use /usr/bin/env to do runtime PATH
based lookup or avoid absolute paths so PATH look up happens instead.

Signed-off-by: Thierry Laurion <insurgo@riseup.net>
Signed-off-by: Manuel Mendez <github@i.m.mmlb.dev>
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
This commit is contained in:
Manuel Mendez
2023-06-07 15:49:13 -04:00
committed by Thierry Laurion
parent 4f3d210f89
commit d396236a83
23 changed files with 325 additions and 21 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
function printusage {
echo "Usage: $0 -m <me_cleaner>(optional)"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
function printusage {
echo "Usage: $0 -m <me_cleaner>(optional)"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
function printusage {
echo "Usage: $0 -f <romdump> -m <me_cleaner>(optional) -i <ifdtool>(optional)"

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
# me_cleaner - Tool for partial deblobbing of Intel ME/TXE firmware images
# Copyright (C) 2016-2018 Nicola Corna <nicola@corna.info>

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
BLOBDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
ROMPARSER="94a615302f89b94e70446270197e0f5138d678f3"

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
BLOBDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
ROMPARSER="94a615302f89b94e70446270197e0f5138d678f3"