dtinfogen: don't override PATH
authorNina Didenko <nina.didenko@gmail.com>
Tue, 5 Nov 2019 17:45:41 +0000 (20:45 +0300)
committerJon Trulson <jon@radscan.com>
Wed, 6 Nov 2019 01:48:00 +0000 (18:48 -0700)
cde/programs/dtinfo/dtinfogen/infolib/etc/dtinfogen

index 1e825e239f3a276d7f714b91ad0fae135bd6c723..6d4d8a34253c220ef3f8efa0e2f11f5baf8f3c4e 100755 (executable)
@@ -30,8 +30,6 @@
 #
 ###############################################################################
 
 #
 ###############################################################################
 
-USERPATH=$PATH
-PATH=/bin:/usr/bin:/usr/sbin
 RETCODE=0
 
 trap '\
 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
 
 
 fi
 
-PATH=${PATH}:${USERPATH}
-
 ###############################################################################
 #
 #      Create the command line and invoke the DtInfo build tools
 ###############################################################################
 #
 #      Create the command line and invoke the DtInfo build tools