Merge pull request #149 from gpupo/pr/Shebang

Add portability to Bash Program location
This commit is contained in:
Michel Machado 2020-11-15 10:59:30 -05:00 committed by GitHub
commit e8cc238c72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
LOG=$1
$(dirname $0)/f3write "${@:2}" 2>&1 | tee -a "${LOG}" && \
echo -e "\n\n" >> "${LOG}" && \