Browse Source

dtinfogen: don't override PATH

Nina Didenko 4 years ago
parent
commit
b3f3997bd1
1 changed files with 1 additions and 5 deletions
  1. 1 5
      cde/programs/dtinfo/dtinfogen/infolib/etc/dtinfogen

+ 1 - 5
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