From 6ecdbc44c1de23c56b7f4e59fea225f79b4d166b Mon Sep 17 00:00:00 2001 From: Jonathan Schleifer Date: Sun, 17 Jul 2022 16:51:14 +0000 Subject: [PATCH] zshrc: Fix "cross switch" --- zshrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zshrc b/zshrc index 352aef7..8ab00fa 100644 --- a/zshrc +++ b/zshrc @@ -546,14 +546,14 @@ cross() { echo "Please set DEVKITPRO!" return 1 fi - if [ -z $"DEVKITA64" ]; then + if [ -z "$DEVKITA64" ]; then echo "Please set DEVKITA64!" return 1 fi export PATH="$DEVKITA64/bin:$PATH" export cross_host="aarch64-none-elf" - export objfw_configure_flags="--with-$1" + export objfw_configure_flags="--with-nintendo-switch" ;; wii | wii-u) if [ -z "$DEVKITPRO" ]; then