Skip to content

Commit

Permalink
FIX: linux: fix the building issue on Linux Mint 21.3 Virginia
Browse files Browse the repository at this point in the history
github: bambulab#3874
author: https://github.com/lucianoloder

Change-Id: Ia3db6923d5dd68dba532d7bdba6f93f73cc51d59
  • Loading branch information
lanewei120 authored and hadess committed Jun 22, 2024
1 parent 084f5c9 commit eee2fb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BuildLinux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ FOUND_GTK2=$(dpkg -l libgtk* | grep gtk2)
FOUND_GTK3=$(dpkg -l libgtk* | grep gtk-3)

function check_available_memory_and_disk() {
FREE_MEM_GB=$(free -g -t | grep 'Mem:' | rev | cut -d" " -f1 | rev)
FREE_MEM_GB=$(free -g -t | grep 'Mem' | rev | cut -d" " -f1 | rev)
MIN_MEM_GB=10

FREE_DISK_KB=$(df -k . | tail -1 | awk '{print $4}')
Expand Down

0 comments on commit eee2fb4

Please sign in to comment.