• Kirk Webb's avatar
    Update the use of realpath across all perl scripts · 3f167217
    Kirk Webb authored
    Change to use the realpath function in the 'Cwd' module instead of
    calling realpath via the shell.  The shell command varies in its
    reaction to a missing final path component.  On some platforms (Linux,
    FBSD10+) realpath reports an error if the final component doesn't exist
    on the filesystem.  On others (FBSD < 10), it does not report an error.
    
    The perl function from 'Cwd' emulates the same behavior as FBSD prior to
    version 10, which is the behavior the scripts expect.
    
    From here on out, instead of using `realpath`, do the following:
    
    use Cwd qw(realpath);
    ..
    ..
    my $realpath = realpath($somepath);
    3f167217
Name
Last commit
Last update
..
etc Loading commit data...
flack Loading commit data...
install Loading commit data...
lib Loading commit data...
logo Loading commit data...
protogeniflash Loading commit data...
pubxmlrpc Loading commit data...
rspec-emulab Loading commit data...
rspec-geni @ a777efe9 Loading commit data...
scripts Loading commit data...
security Loading commit data...
test Loading commit data...
tutorial Loading commit data...
updates Loading commit data...
xmlrpc Loading commit data...
GNUmakefile.in Loading commit data...
LICENSE Loading commit data...
README Loading commit data...