diff --git a/gentoo-gnome.sh b/gentoo-gnome.sh index 47c8f93..5fe618c 100644 --- a/gentoo-gnome.sh +++ b/gentoo-gnome.sh @@ -463,7 +463,7 @@ btrfs-tweaks() { } initialize-disk() { - SWAP_SIZE="$(expr $ROOT_PARTITION_SIZE + 16)GiB" + export SWAP_SIZE="$(expr $ROOT_PARTITION_SIZE + 16)GiB" parted /dev/$HARD_DISK mklabel gpt parted -a optimal /dev/$HARD_DISK mkpart primary fat32 1MiB 200MiB parted -a optimal /dev/$HARD_DISK mkpart primary ext3 200MiB $ROOT_PARTITION_SIZE