Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaslindner committed Aug 23, 2024
1 parent c74fafd commit 4c5ed89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/mk-exe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ function mk_exe_for_sml_file {
declare BUILDHEAP="$HOLBINDIR/buildheap"
declare HEAPNAME="$HOLBINDIR/heapname"

# Determine in which heap to execute by looking at the Holmakefile.gen file
declare HEAP=$(grep -E '^HOLHEAP' Holmakefile.gen | sed -r 's/HOLHEAP\s*=\s*(\S+)/\1/')
# Determine in which heap to execute by looking at the Holmakefile file
declare HEAP=$(grep -E '^HOLHEAP' Holmakefile | sed -r 's/HOLHEAP\s*=\s*(\S+)/\1/')
if [ ! -f "$HEAP" ]; then
declare HEAP=`$HEAPNAME`
fi
Expand Down

0 comments on commit 4c5ed89

Please sign in to comment.