diff --git a/gentoo-gnome.sh b/gentoo-gnome.sh index 5bd258f..123bf09 100644 --- a/gentoo-gnome.sh +++ b/gentoo-gnome.sh @@ -463,7 +463,7 @@ btrfs-tweaks() { } initialize-disk() { - SWAP_SIZE=expr $(cat /proc/meminfo | head -1 | cut -d ':' -f2 | sed 's/ //g' | sed 's/kB//') / 1024 + SWAP_SIZE=$(expr $(cat /proc/meminfo | head -1 | cut -d ':' -f2 | sed 's/ //g' | sed 's/kB//') / 1024) echo "Test: $SWAP_SIZE" parted /dev/$HARD_DISK mklabel gpt parted -a optimal /dev/$HARD_DISK mkpart primary fat32 1MiB 200MiB