lib/Tools/dotnet
author wenzelm
Sat, 01 Jun 2024 14:33:38 +0200
changeset 80227 af6b60c75d7d
parent 80010 6964a23f595a
permissions -rwxr-xr-x
clarified context for (remote) bash scripts: export variables are optional, support cwd;

#!/usr/bin/env bash
#
# Author: Makarius
#
# DESCRIPTION: invoke the dotnet CLI driver within the Isabelle environment

if [ -z "$ISABELLE_DOTNET" ]; then
  echo "Missing Dotnet installation: need to run \"isabelle dotnet_setup\" first" >&2
  exit 2
else
  exec "$ISABELLE_DOTNET" "$@"
fi