From f313c2b316888f4e13bb3b35b42a7dbc15347e27 Mon Sep 17 00:00:00 2001 From: Richard Cornwell Date: Thu, 4 Feb 2021 19:48:57 -0500 Subject: [PATCH] SCP: Updated makefile to current. --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 4853757..dacc667 100644 --- a/makefile +++ b/makefile @@ -955,7 +955,7 @@ ifeq (${WIN32},) #*nix Environments (&& cygwin) GIT_COMMIT_TIME=$(shell grep 'define SIM_GIT_COMMIT_TIME' sim_rev.h | awk '{ print $$3 }') else ifeq (git-submodule,$(if $(shell cd .. ; git rev-parse --git-dir 2>/dev/null),git-submodule)) - GIT_COMMIT_ID=$(shell cd .. ; git submodule status | grep "$(notdir $(realpath .))" | awk '{ print $$1 }') + GIT_COMMIT_ID=$(shell cd .. ; git submodule status | grep " $(notdir $(realpath .)) " | awk '{ print $$1 }') GIT_COMMIT_TIME=$(shell git --git-dir=$(realpath .)/.git log $(GIT_COMMIT_ID) -1 --pretty="%aI") else $(info *** Error ***)