Magellan Linux

Diff of /trunk/mage/usr/lib/mage/env-rebuild.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1601 by niro, Wed Dec 28 10:26:01 2011 UTC revision 1602 by niro, Tue Jan 3 14:22:03 2012 UTC
# Line 39  do Line 39  do
39   esac   esac
40    
41   variable="${line%%=*}"   variable="${line%%=*}"
  # substitudes " from $line if exists  
  path="${line//\"}" #}" <--- make code readable again :)  
42   value="${line##*=}"   value="${line##*=}"
43    
44     # substitudes " or ' from $value if exists
45     value="${value//\"}" #}" <--- make code readable again :)
46     value="${value//\'}"
47    
48   # writes LDPATH to ${MROOT}/etc/ld.so.conf,   # writes LDPATH to ${MROOT}/etc/ld.so.conf,
49   # anything else to ${MROOT}/etc/profile.env   # anything else to ${MROOT}/etc/profile.env
50   if [[ ${variable} = LDPATH ]]   if [[ ${variable} = LDPATH ]]

Legend:
Removed from v.1601  
changed lines
  Added in v.1602