Changeset 2174


Ignore:
Timestamp:
Apr 17, 2009, 7:14:00 PM (10 years ago)
Author:
bruno
Message:
  • ReadAllLink? now normalize paths with .. in their name to remove that (avoid bugs when dyn. lib. links contain them such as on OEL4)
Location:
branches/2.2.9/mindi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.9/mindi/mindi

    r2169 r2174  
    823823    file="$1"
    824824
     825    echo $file | grep -q '\.\./'
     826    if [ $? -ne 0 ]; then
     827        # We need to normalise the path with .. in it
     828        file=`echo $file | perl -pi -e 's|([^/]+)/([^/]+)/\.\./([^/]+)|$1/$3|'`
     829    fi
    825830    echo "$file"
    826831    if [ ! -h $file ]; then
  • branches/2.2.9/mindi/rootfs/sbin/init

    r2163 r2174  
    3131    echo -en "Copying boot device to $outfile..."
    3232    if [ -e "$outfile" ] ; then
    33         echo "OK."
     33        echo "not needed."
    3434        return 0
    3535    fi
Note: See TracChangeset for help on using the changeset viewer.