Also added bang line to top of script for /bin/bash
Description of changes:
The way the script was originally written with backticks was causing escaping issues on Linux systems (Ubuntu 20.04). Re-wrote all backtick entries to have $(...) calls instead as this prevents the issue (following Shell Check issue 2006)
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Also added bang line to top of script for /bin/bash
Description of changes: The way the script was originally written with backticks was causing escaping issues on Linux systems (Ubuntu 20.04). Re-wrote all backtick entries to have
$(...)
calls instead as this prevents the issue (following Shell Check issue 2006)By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.