summaryrefslogtreecommitdiff
path: root/lang/python-doc-html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lang/python-doc-html/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/python-doc-html/Makefile b/lang/python-doc-html/Makefile
index 3ba67737be47..0e90af167bb3 100644
--- a/lang/python-doc-html/Makefile
+++ b/lang/python-doc-html/Makefile
@@ -57,10 +57,11 @@ pre-install:
fi
.else
@cd ${WRKSRC} && (${FIND} . -type f | \
- ${SED} -e 's,^\.,share/doc/${PYTHON_VERSION},' | sort > ${PLIST})
+ ${SED} -e 's,^\.,share/doc/${PYTHON_VERSION},' | ${SORT} \
+ > ${PLIST})
@cd ${WRKSRC} && (${FIND} * -type d | \
${SED} -e 's,^,@dirrm share/doc/${PYTHON_VERSION}/,' | \
- sort -r) >> ${PLIST}
+ ${SORT} -r) >> ${PLIST}
@${ECHO_CMD} "@unexec rmdir %D/share/doc/%%PYTHON_VERSION%% 2>/dev/null || true" >> ${PLIST}
.endif