Skip to content

Commit

Permalink
fix freebsd df
Browse files Browse the repository at this point in the history
  • Loading branch information
srz-zumix authored Jan 10, 2020
1 parent 5ba041c commit 41c52ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .ci/spec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ if [ "$PLATFORM" = "bsd" ]; then
export DISK="HDD"
fi
df -h
export FREESPACE=$(df -l --output=avail -h -BG ${BASEDIR} | egrep -o [0-9]+G)
export FREESPACE=$(df -l -H ${BASEDIR} | egrep -v Avail | xargs echo | cut -d" " -f4)
fi

if [ "$PLATFORM" = "windows" ]; then
Expand Down

0 comments on commit 41c52ac

Please sign in to comment.