hurl/bin/release/install_generic_macos_package.sh
Fabrice Reix f48cbf9f2b
Fix Typos
2023-03-07 15:54:56 +01:00

17 lines
441 B
Bash
Executable File

#!/bin/bash
set -Eeuo pipefail
echo "----- install generic macos package -----"
# install
generic_macos_package=$(ls target/upload/hurl-*-x86_64-macos.tar.gz)
install_dir="/tmp/hurl-generic-macos"
mkdir -p "${install_dir}"
tar xvf "${generic_macos_package}" -C "${install_dir}" --strip-components=1
# Return PATH var to parent shell
echo "Run this if you want to use fresh built Hurl package:"
echo " export PATH=${install_dir}:$PATH"