pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
mk/hg-package.mk: clean up alignment of the backslashes
Module Name: pkgsrc-wip
Committed By: Roland Illig <roland.illig%gmx.de@localhost>
Pushed By: rillig
Date: Fri Mar 9 21:26:26 2018 +0100
Changeset: 5f37d21142155dca5e556e6c8ab2b6c5bd49fa73
Modified Files:
mk/hg-package.mk
Log Message:
mk/hg-package.mk: clean up alignment of the backslashes
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5f37d21142155dca5e556e6c8ab2b6c5bd49fa73
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
mk/hg-package.mk | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diffs:
diff --git a/mk/hg-package.mk b/mk/hg-package.mk
index 0448f54783..f137b4f419 100644
--- a/mk/hg-package.mk
+++ b/mk/hg-package.mk
@@ -119,12 +119,12 @@ _HG_DISTFILE.${repo}= ${PKGBASE}-${repo}-${_HG_TAG.${repo}}.tar.gz
# Define the shell variables used by the following commands
_HG_CMD.vars.${repo}= \
repo=${HG_REPO.${repo}:Q}; \
- extractdir=${HG_EXTRACTDIR.${repo}:Q}; \
+ extractdir=${HG_EXTRACTDIR.${repo}:Q}; \
archive=${_HG_DISTDIR}/${_HG_DISTFILE.${repo}:Q}
# Extract the cached archive
_HG_CMD.extract_archive.${repo}= \
- if [ -f "$$archive" ]; then \
+ if [ -f "$$archive" ]; then \
${STEP_MSG} "Extracting cached Mercurial archive $${archive\#\#*/}."; \
gzip -d -c "$$archive" | pax -r; \
exit 0; \
@@ -146,8 +146,8 @@ _HG_CMD.create_archive.${repo}= \
hg-cleandir: .PHONY
.for repo in ${HG_REPOSITORIES}
${RUN} cd ${WRKDIR}; \
- if [ -d ${HG_EXTRACTDIR.${repo}:Q} ]; then \
- cd ${HG_EXTRACTDIR.${repo}:Q} && rm -rf *; \
+ if [ -d ${HG_EXTRACTDIR.${repo}:Q} ]; then \
+ cd ${HG_EXTRACTDIR.${repo}:Q} && rm -rf *; \
fi
.endfor
${RUN} cd ${WRKDIR} && rm -f .*_done && rm -rf .cwrapper
@@ -164,7 +164,7 @@ do-hg-extract: .PHONY
${_HG_CMD.checkout.${repo}}; \
${_HG_CMD.create_archive.${repo}}; \
else \
- cd "$$extractdir"; \
+ cd "$$extractdir"; \
${_HG_CMD} pull ${_HG_FLAGS}; \
${_HG_CMD} update -C ${_HG_FLAGS}; \
fi
Home |
Main Index |
Thread Index |
Old Index