Shell script improvements
@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -euo pipefail
ASSET_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
@ -1,4 +1,6 @@
cd "$(dirname "${BASH_SOURCE[0]}")"
if ! which hyperfine > /dev/null 2>&1; then
echo "'hyperfine' does not seem to be installed."
set -eou pipefail
python="python3"
if ! command -v python3 &>/dev/null; then python="python"; fi