#!/bin/sh . ./.vars VERSION=2.02 cd $build_dir if ! [ -d "${build_dir}/grub-$VERSION" ] ; then xz -dc < "${dist_dir}/grub-$VERSION.tar.xz" | tar -xvf - fi cd "grub-$VERSION" export DESTDIR="$prefix" ./configure \ --prefix='/usr' \ --disable-werror # Why in the fuck do I have to add disable -Werror? # Is GRUB really *that* shit? make -j8 make install