15 lines
263 B
Bash
Executable File
15 lines
263 B
Bash
Executable File
#! /bin/bash
|
|
set -euo pipefail
|
|
|
|
SCRIPTS_DIR=$(dirname `realpath ${BASH_SOURCE[0]}`)
|
|
|
|
program1="$SCRIPTS_DIR/../program1/program1.sh"
|
|
|
|
if [ ! -f "$program1" ]; then
|
|
>&2 echo "program1 not found"
|
|
exit 1
|
|
fi
|
|
|
|
export PATH="/opt/homebrew/bin:${PATH}"
|
|
|
|
$program1 |