diff --git a/scripts/dual-boot.sh b/scripts/dual-boot.sh index b067ad5f..41459c48 100755 --- a/scripts/dual-boot.sh +++ b/scripts/dual-boot.sh @@ -18,17 +18,9 @@ then exit 1 fi -if [ -z "${ARCH}" ] -then - export ARCH="$(uname -m)" -fi +eval $(make setenv) -if [ -z "${CONFIG_NAME}" ] -then - export CONFIG_NAME=desktop -fi - -IMAGE="build/${ARCH}/${CONFIG_NAME}/filesystem.img" +IMAGE="${BUILD}/filesystem.img" set -x rm -f "${IMAGE}" make "${IMAGE}"