From bb85782faa5411052dfd0ee29f5e8b1c7711e78e Mon Sep 17 00:00:00 2001 From: bentley Date: Thu, 14 Jan 2010 22:16:59 -0700 Subject: [PATCH] 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. --- Makefile | 2 +- scripts/localversion.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 92ac48c4..c7557823 100644 --- a/Makefile +++ b/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 diff --git a/scripts/localversion.sh b/scripts/localversion.sh index 576305ea..b159259a 100644 --- a/scripts/localversion.sh +++ b/scripts/localversion.sh @@ -1,4 +1,4 @@ -#! /bin/bash +#!/bin/sh # # Use git to figure out which version we are using.