From feae936d4eed8e5294dca4048fe8d5a5b3650401 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Tue, 14 Mar 2017 16:52:44 +0100 Subject: app-portage/eclass-manpages: Remove unused PORTDIR from the script --- app-portage/eclass-manpages/files/eclass-to-manpage.awk | 2 +- app-portage/eclass-manpages/files/eclass-to-manpage.sh | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'app-portage') 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 -- cgit v1.2.3-65-gdbad