Browse Source

don't directly call bash

K Lange 9 months ago
parent
commit
b4bf660a58
2 changed files with 2 additions and 4 deletions
  1. 1 1
      Makefile
  2. 1 3
      docs/git-tag

+ 1 - 1
Makefile

@@ -1,5 +1,5 @@
 TARGET=bim
-CFLAGS=-g -O2 -std=c99 -Wvla -pedantic -Wall -Wextra -I. $(shell bash docs/git-tag) -Wno-unused-parameter -Wno-unused-result
+CFLAGS=-g -O2 -std=c99 -Wvla -pedantic -Wall -Wextra -I. $(shell docs/git-tag) -Wno-unused-parameter -Wno-unused-result
 LDFLAGS=-rdynamic
 
 ifeq (Darwin,$(shell uname -s))

+ 1 - 3
docs/git-tag

@@ -1,5 +1,3 @@
-#!/bin/bash
-
+#!/bin/sh
 command -v git >/dev/null 2>/dev/null || exit 0
-
 echo -n "-DGIT_TAG='\"$(git rev-parse --short HEAD)\"'"