From b737c2ab1293402188b817f6d4dea384753f900c Mon Sep 17 00:00:00 2001 From: Ross Thompson Date: Sat, 21 Jan 2023 21:31:47 -0600 Subject: [PATCH] Added argument to install script for alternate install directory. --- bin/wally-tool-chain-install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/wally-tool-chain-install.sh b/bin/wally-tool-chain-install.sh index 559745713..14012c644 100755 --- a/bin/wally-tool-chain-install.sh +++ b/bin/wally-tool-chain-install.sh @@ -1,4 +1,6 @@ -export RISCV=/mnt/500gbs/riscv +#!/bin/bash + +export RISCV="${1:-/opt/riscv}" export PATH=$PATH:$RISCV/bin set -e # break on error