Skip to content

Commit

Permalink
Fixed planmove to work across multiple filesystems (thanks, Gary!)
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Dec 9, 2003
1 parent cfb9467 commit a65c9bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion IcculusFinger_planmove.pl
Expand Up @@ -21,6 +21,7 @@

use strict;
use warnings;
use File::Copy;

#-----------------------------------------------------------------------------#
# CONFIGURATION VARIABLES: Change to suit your needs... #
Expand Down Expand Up @@ -108,7 +109,7 @@ sub check_dir {
}

print(" + Moving $homepath to $fingerpath ... \n");
rename($homepath, $fingerpath) or die("rename failed: $!\n");
move($homepath, $fingerpath) or die("move failed: $!\n");
symlink($fingerpath, $homepath) or die("symlink failed: $!\n");
}

Expand Down

0 comments on commit a65c9bb

Please sign in to comment.