From: Nina Didenko Date: Tue, 5 Nov 2019 17:45:41 +0000 (+0300) Subject: dtinfogen: don't override PATH X-Git-Tag: 2.3.1~5 X-Git-Url: https://git.librecmc.org/?p=oweals%2Fcde.git;a=commitdiff_plain;h=b3f3997bd1b84725d3db82f81eebc00865fad117 dtinfogen: don't override PATH --- diff --git a/cde/programs/dtinfo/dtinfogen/infolib/etc/dtinfogen b/cde/programs/dtinfo/dtinfogen/infolib/etc/dtinfogen index 1e825e23..6d4d8a34 100755 --- a/cde/programs/dtinfo/dtinfogen/infolib/etc/dtinfogen +++ b/cde/programs/dtinfo/dtinfogen/infolib/etc/dtinfogen @@ -30,8 +30,6 @@ # ############################################################################### -USERPATH=$PATH -PATH=/bin:/usr/bin:/usr/sbin RETCODE=0 trap '\ @@ -45,7 +43,7 @@ trap '\ # ############################################################################### -export ARCH DTINFO_HOME OTK_NAME PATH +export ARCH DTINFO_HOME OTK_NAME ############################################################################### @@ -361,8 +359,6 @@ if [ ! -d $DTINFO_LIB ] ; then fi -PATH=${PATH}:${USERPATH} - ############################################################################### # # Create the command line and invoke the DtInfo build tools