[Trac-bugs] [PC-BSD Trac] #351: stray bash-ism in warden installinmate.sh script

PC-BSD trac at pcbsd.org
Tue Nov 23 23:29:28 PST 2010


#351: stray bash-ism in warden installinmate.sh script
-------------------------------+--------------------------------------------
 Reporter:  embiidae           |       Owner:     
     Type:  PBI Packaging Bug  |      Status:  new
 Priority:  minor              |   Milestone:     
Component:  PBI System         |     Version:  8.1
 Keywords:                     |  
-------------------------------+--------------------------------------------
 if [ "${IFILE:0:1}" != "/" ]
 then
   IFILE="${PWD}/${IFILE}"
 fi

 Should be?:

 chk=`echo "${IFILE}" | cut -c 1-1`
 if [ "$chk" != "/" ]
 then
   IFILE="${PWD}/${IFILE}"
 fi

-- 
Ticket URL: <https://trac.pcbsd.org/ticket/351>
PC-BSD <http://trac.pcbsd.org>
PC-BSD Project Management


More information about the Trac-bugs mailing list