Skip to content

Commit

Permalink
GNUmakefile subst . for -
Browse files Browse the repository at this point in the history
  • Loading branch information
RandyMcMillan committed Feb 22, 2024
1 parent 6eafddb commit 2aa425a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ TIME := $(shell date +%s)
export TIME
# PROJECT_NAME defaults to name of the current directory.
# should not to be changed if you follow GitOps operating procedures.
PROJECT_NAME = $(notdir $(PWD))
PROJECT_NAME = $(notdir $(subst .,_,$(PWD)))
export PROJECT_NAME


SSH_PRIVATE_KEY=$(cat ~/.ssh/id_rsa)
export SSH_PRIVATE_KEY

# Note. If you change this, you also need to update docker-compose.yml.
# only useful in a setting with multiple services/ makefiles.
Expand Down

0 comments on commit 2aa425a

Please sign in to comment.