/[fuse-comp]/fuse-comp.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /fuse-comp.pl

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

revision 38 by dpavlin, Sun Sep 2 11:38:59 2007 UTC revision 39 by dpavlin, Sun Sep 2 12:03:52 2007 UTC
# Line 358  sub x_symlink { Line 358  sub x_symlink {
358          warn "# symlink( $from_path -> $to_path ) = $rv\n" if $debug;          warn "# symlink( $from_path -> $to_path ) = $rv\n" if $debug;
359    
360          my $tmp = $mount->{tmp} . '/' . $from;          my $tmp = $mount->{tmp} . '/' . $from;
361          if ( -e $tmp ) {          my $tmp_to = $mount->{tmp} . '/' . $to;
362                  my $tmp_to = $mount->{$tmp} . '/' . $to;          if ( $rv == 0 && -e $tmp_to ) {
363                  symlink( $tmp, $tmp_to ) || confess "can't symlink $tmp -> $tmp_to: $!";                  symlink( $tmp, $tmp_to ) || confess "can't symlink $tmp -> $tmp_to: $!";
364          }          }
365          return $rv;          return $rv;

Legend:
Removed from v.38  
changed lines
  Added in v.39

  ViewVC Help
Powered by ViewVC 1.1.26