Skip to content

Commit

Permalink
fixed java version check in fortranas launcher
Browse files Browse the repository at this point in the history
  • Loading branch information
alhadrad@gmail.com committed Jan 19, 2024
1 parent 3094e23 commit 8e33c46
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions docker/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
set -euo pipefail

cd /tmp/FortranAS
./build/fortranas --lexer Fortran90Lexer \
--output-directory /tmp/FortranAS/output \
./build/fortranas --output-directory /tmp/FortranAS/output \
--input-source-code-directory /tmp/FortranAS/source \
--print-fortran-files \
--parse-fortran-files \
Expand Down
1 change: 0 additions & 1 deletion tools/fortranas
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ else
free_ram_g=$(printf "%.0f" "$free_ram_g")
fi

# Check Java installation and free RAM against the minimum required
MINIMUM_RAM_G=8
if ((free_ram_g < MINIMUM_RAM_G)); then
echo "Insufficient free RAM: $free_ram_g GB free, Minimum required: $MINIMUM_RAM_G GB. Free up some RAM and try again." >&2
Expand Down

0 comments on commit 8e33c46

Please sign in to comment.