Don't assume bash is at /bin/bash

This commit is contained in:
leo60228 2024-05-29 19:32:17 -04:00
parent 18f84b78f2
commit ef2330593c
No known key found for this signature in database
GPG Key ID: 6F3EB461799AD95E
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ MODERN_ELF_NAME := $(MODERN_ROM_NAME:.gba=.elf)
MODERN_MAP_NAME := $(MODERN_ROM_NAME:.gba=.map)
MODERN_OBJ_DIR_NAME := build/modern
SHELL := /bin/bash -o pipefail
SHELL := bash -o pipefail
ELF = $(ROM:.gba=.elf)
MAP = $(ROM:.gba=.map)

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
if [[ -d "$DEVKITARM/bin/" ]]; then
OBJDUMP_BIN="$DEVKITARM/bin/arm-none-eabi-objdump"