Changeset 215:02783ac61e3b in finroc


Ignore:
Timestamp:
11.07.2012 14:22:46 (7 years ago)
Author:
Tobias Föhst <foehst@…>
Branch:
default
Phase:
public
Message:

Made finroc_update and finroc_status work with symbolic links

Location:
scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • scripts/finroc_status

    r212 r215  
    136136AddDirectory "$FINROC_HOME/make_builder"; 
    137137 
    138 map { chomp; AddDirectory $_ } `find "$FINROC_HOME/sources" -maxdepth 4 -name "core" 2> /dev/null`; 
     138map { chomp; AddDirectory $_ } `find -L "$FINROC_HOME/sources" -maxdepth 4 -name "core" 2> /dev/null`; 
    139139 
    140140my @classes = ( "rrlib", "libraries", "tools", "plugins", "projects" ); 
     
    142142foreach my $class (@classes) 
    143143{ 
    144     foreach my $base (map { chomp; $_ } `find "$FINROC_HOME/sources" -name "$class" 2> /dev/null`) 
     144    foreach my $base (map { chomp; $_ } `find -L "$FINROC_HOME/sources" -name "$class" 2> /dev/null`) 
    145145    { 
    146146        map { chomp; AddDirectory sprintf "%s/%s", $base, $_ } `ls "$base"`; 
  • scripts/finroc_update

    r209 r215  
    9191AddDirectory "$FINROC_HOME/make_builder"; 
    9292 
    93 map { chomp; AddDirectory $_ } `find "$FINROC_HOME/sources" -maxdepth 4 -name "core" 2> /dev/null`; 
     93map { chomp; AddDirectory $_ } `find -L "$FINROC_HOME/sources" -maxdepth 4 -name "core" 2> /dev/null`; 
    9494 
    9595my @classes = ( "rrlib", "libraries", "tools", "plugins", "projects" ); 
     
    9797foreach my $class (@classes) 
    9898{ 
    99     foreach my $base (map { chomp; $_ } `find "$FINROC_HOME/sources" -name "$class" 2> /dev/null`) 
     99    foreach my $base (map { chomp; $_ } `find -L "$FINROC_HOME/sources" -name "$class" 2> /dev/null`) 
    100100    { 
    101101        map { chomp; AddDirectory sprintf "%s/%s", $base, $_ } `ls "$base"`; 
Note: See TracChangeset for help on using the changeset viewer.