f4pga/.github/scripts/f4pga-env
Unai Martinez-Corral e1e9e61b82 ci/scripts: add envvars.sh; move f4pga-env stuff out from prepare_environment
Signed-off-by: Unai Martinez-Corral <umartinezcorral@antmicro.com>
2022-08-04 03:47:38 +02:00

18 lines
190 B
Bash
Executable file

#!/usr/bin/env bash
set -e
case "$1" in
bin)
(
cd $(dirname "$0")
pwd
)
;;
share)
(
cd $(dirname "$0")/../share/f4pga
pwd
)
;;
esac