app-portage/eclass-manpages: Remove unused PORTDIR from the script
authorMichał Górny <mgorny@gentoo.org>
Tue, 14 Mar 2017 15:52:44 +0000 (16:52 +0100)
committerMichał Górny <mgorny@gentoo.org>
Tue, 21 Mar 2017 18:22:43 +0000 (19:22 +0100)
app-portage/eclass-manpages/files/eclass-to-manpage.awk
app-portage/eclass-manpages/files/eclass-to-manpage.sh

index 81241014ca3156e5738a85cce1b4fa631b6afa33..02eb4c82581042d70427cb9dce65983a140abedf 100644 (file)
@@ -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
index 7706afa7ae67602a9095446185c81076879caa94..186a712e8065189c29e7adfad089a01befbc604c 100755 (executable)
@@ -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