Skip to content

Commit

Permalink
Merge pull request EOSIO#44 from xusy2k/fix-free_mem
Browse files Browse the repository at this point in the history
fix: FREE_MEM
  • Loading branch information
larryk85 authored Aug 16, 2018
2 parents ccbff3a + a029fd8 commit 1a30a01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ if [[ `uname` == 'Darwin' ]]; then
read -ra FREE_MEM <<< "$FREE_MEM"
FREE_MEM=$((${FREE_MEM[2]%?}*(4096))) # free pages * page size
else
FREE_MEM=`free | grep "Mem:" | awk '{print $4}'`
FREE_MEM=`LANG=C free | grep "Mem:" | awk '{print $4}'`
fi

CORES_AVAIL=`getconf _NPROCESSORS_ONLN`
Expand Down

0 comments on commit 1a30a01

Please sign in to comment.