| author | wenzelm |
| Wed, 28 Dec 2022 12:30:18 +0100 | |
| changeset 76798 | 69d8d16c5612 |
| parent 73705 | ac07f6be27ea |
| permissions | -rwxr-xr-x |
|
54313
da2e6282a4f5
native executable even for Linux, to avoid surprises with file managers opening executable script as text file;
wenzelm
parents:
diff
changeset
|
1 |
#!/usr/bin/env bash |
|
da2e6282a4f5
native executable even for Linux, to avoid surprises with file managers opening executable script as text file;
wenzelm
parents:
diff
changeset
|
2 |
|
| 73192 | 3 |
set -e |
4 |
||
|
73705
ac07f6be27ea
avoid unexpected output+behaviour when CDPATH is set
kleing
parents:
73192
diff
changeset
|
5 |
unset CDPATH |
| 73192 | 6 |
THIS="$(cd "$(dirname "$0")"; pwd)" |
7 |
cd "$THIS" |
|
8 |
||
9 |
source "../../lib/scripts/isabelle-platform" |
|
10 |
||
11 |
PLATFORM="${ISABELLE_APPLE_PLATFORM64:-$ISABELLE_PLATFORM64}"
|
|
12 |
mkdir -p "$PLATFORM" |
|
13 |
||
14 |
EXE="$PLATFORM/Isabelle" |
|
15 |
gcc -Wall Isabelle.c -o "$EXE" |
|
16 |
echo "$EXE" |