Log PATH variable we have
This commit is contained in:
parent
c7b4ec9df5
commit
e5ef6300c3
@ -19,6 +19,9 @@
|
|||||||
# Red Hat Author(s): Martin Gracik <mgracik@redhat.com>
|
# Red Hat Author(s): Martin Gracik <mgracik@redhat.com>
|
||||||
#
|
#
|
||||||
|
|
||||||
|
import logging
|
||||||
|
logger = logging.getLogger("pylorax")
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from sysutils import joinpaths
|
from sysutils import joinpaths
|
||||||
@ -28,6 +31,7 @@ class LoraxRequiredCommands(dict):
|
|||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.__path = os.environ["PATH"].split(":")
|
self.__path = os.environ["PATH"].split(":")
|
||||||
|
logger.debug("PATH: {0}".format(self.__path))
|
||||||
|
|
||||||
self["AWK"] = "awk"
|
self["AWK"] = "awk"
|
||||||
self["BUILD_LOCALE_ARCHIVE"] = "build-locale-archive"
|
self["BUILD_LOCALE_ARCHIVE"] = "build-locale-archive"
|
||||||
|
Loading…
Reference in New Issue
Block a user