mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-21 10:42:07 +00:00
this is a bourne script, bash is not needed
Don't use /bin/bash ! Many systems do not have bash there (they might have it at /usr/local/bin/bash, for example). Don't specify bash unless you specifically need bash features -- many systems do not have bash installed by default.
This commit is contained in:
2
Makefile
2
Makefile
@@ -1,4 +1,4 @@
|
|||||||
localversion = $(shell bash scripts/localversion.sh)
|
localversion = $(shell sh scripts/localversion.sh)
|
||||||
|
|
||||||
cflags = -Wall -Iinclude -Iinclude/asm/gameboy -DLOCALVERSION=\"$(localversion)\" -g -std=c99 -D_POSIX_C_SOURCE=200112L
|
cflags = -Wall -Iinclude -Iinclude/asm/gameboy -DLOCALVERSION=\"$(localversion)\" -g -std=c99 -D_POSIX_C_SOURCE=200112L
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#! /bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
#
|
#
|
||||||
# Use git to figure out which version we are using.
|
# Use git to figure out which version we are using.
|
||||||
|
|||||||
Reference in New Issue
Block a user