summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-03-14 16:52:44 +0100
committerMichał Górny <mgorny@gentoo.org>2017-03-21 19:22:43 +0100
commitfeae936d4eed8e5294dca4048fe8d5a5b3650401 (patch)
tree06abccfff86c9a097611dec7cb3cd114715387e7 /app-portage
parentapp-portage/eclass-manpages: Clearly indicate the live ebuild, #612422 (diff)
downloadgentoo-feae936d4eed8e5294dca4048fe8d5a5b3650401.tar.gz
gentoo-feae936d4eed8e5294dca4048fe8d5a5b3650401.tar.bz2
gentoo-feae936d4eed8e5294dca4048fe8d5a5b3650401.zip
app-portage/eclass-manpages: Remove unused PORTDIR from the script
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/eclass-manpages/files/eclass-to-manpage.awk2
-rwxr-xr-xapp-portage/eclass-manpages/files/eclass-to-manpage.sh2
2 files changed, 1 insertions, 3 deletions
diff --git a/app-portage/eclass-manpages/files/eclass-to-manpage.awk b/app-portage/eclass-manpages/files/eclass-to-manpage.awk
index 81241014ca31..02eb4c825810 100644
--- a/app-portage/eclass-manpages/files/eclass-to-manpage.awk
+++ b/app-portage/eclass-manpages/files/eclass-to-manpage.awk
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# This awk converts the comment documentation found in eclasses
diff --git a/app-portage/eclass-manpages/files/eclass-to-manpage.sh b/app-portage/eclass-manpages/files/eclass-to-manpage.sh
index 7706afa7ae67..186a712e8065 100755
--- a/app-portage/eclass-manpages/files/eclass-to-manpage.sh
+++ b/app-portage/eclass-manpages/files/eclass-to-manpage.sh
@@ -1,6 +1,5 @@
#!/bin/bash
-: ${PORTDIR:=/usr/portage}
: ${ECLASSDIR:=${0%/*}/../../../eclass}
: ${FILESDIR:=${ECLASSDIR}/../app-portage/eclass-manpages/files}
@@ -27,7 +26,6 @@ for e in "$@" ; do
set -- \
${AWK} \
-vECLASSDIR="${ECLASSDIR}" \
- -vPORTDIR="${PORTDIR}" \
-f "${FILESDIR}"/eclass-to-manpage.awk \
${e}
if [[ ${AWK} == "gawk" ]] ; then