[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/request f795d03 10/11: shell env variables are in a separa
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/request f795d03 10/11: shell env variables are in a separate subspace |
Date: |
Sat, 13 Feb 2021 19:57:11 -0500 (EST) |
branch: elpa/request
commit f795d031fb22b4d7e3952344a9eaf457c2c3939f
Author: dickmao <none>
Commit: dickmao <none>
shell env variables are in a separate subspace
In the they will not express in Makefile-space.
---
Makefile | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/Makefile b/Makefile
index 3ab48a6..23fe842 100644
--- a/Makefile
+++ b/Makefile
@@ -81,9 +81,7 @@ install: compile dist
--eval "(package-install-file \"dist/request-$(shell $(CASK)
version).tar\")"
define SET_GITHUB_ACTOR =
-ifeq ($(GITHUB_ACTOR),)
-GITHUB_ACTOR := $(shell git config user.name)
-endif
+GITHUB_ACTOR := $(shell if [ -z ${GITHUB_ACTOR} ]; then git config user.name;
else echo ${GITHUB_ACTOR} ; fi)
endef
define SET_GITHUB_ACTOR_REPOSITORY =
@@ -91,15 +89,11 @@ GITHUB_ACTOR_REPOSITORY := $(GITHUB_ACTOR)/$(shell basename
`git rev-parse --sho
endef
define SET_GITHUB_HEAD_REF =
-ifeq ($(GITHUB_HEAD_REF),)
-GITHUB_HEAD_REF := $(shell git rev-parse --abbrev-ref HEAD)
-endif
+GITHUB_HEAD_REF := $(shell if [ -z ${GITHUB_HEAD_REF} ]; then git rev-parse
--abbrev-ref HEAD; else echo ${GITHUB_HEAD_REF} ; fi)
endef
define SET_GITHUB_SHA =
-ifeq ($(GITHUB_SHA),)
-GITHUB_SHA := $(shell git rev-parse origin/${GITHUB_HEAD_REF})
-endif
+GITHUB_SHA := $(shell if [ -z ${GITHUB_SHA} ] ; then git rev-parse
origin/${GITHUB_HEAD_REF}; else echo ${GITHUB_SHA}; fi)
endef
define SET_GITHUB_COMMIT =
- [nongnu] elpa/request updated (c5a1068 -> accd430), ELPA Syncer, 2021/02/13
- [nongnu] elpa/request f795d03 10/11: shell env variables are in a separate subspace,
ELPA Syncer <=
- [nongnu] elpa/request 2364e18 01/11: add headers slot into request-response structure, ELPA Syncer, 2021/02/13
- [nongnu] elpa/request 576585d 03/11: reuse GITHUB_HEAD_REF, ELPA Syncer, 2021/02/13
- [nongnu] elpa/request ec35961 04/11: In for a penny, in for a pound, ELPA Syncer, 2021/02/13
- [nongnu] elpa/request c076219 09/11: okay, now cask24 is failing too, ELPA Syncer, 2021/02/13
- [nongnu] elpa/request 572a900 08/11: I may need to eval calls, ELPA Syncer, 2021/02/13
- [nongnu] elpa/request 0eae5a0 02/11: fix checkdoc/package-lint/byte-compiler issue, ELPA Syncer, 2021/02/13
- [nongnu] elpa/request ef231e1 06/11: request-response-headers, ELPA Syncer, 2021/02/13
- [nongnu] elpa/request 8e6aaa5 05/11: Revert "add headers slot into request-response structure", ELPA Syncer, 2021/02/13
- [nongnu] elpa/request accd430 11/11: Merge pull request #201 from dickmao/dev, ELPA Syncer, 2021/02/13
- [nongnu] elpa/request c92102f 07/11: On 20210213, emacs24 couldn't download packages from elpa, ELPA Syncer, 2021/02/13