diff options
Diffstat (limited to 'lib/find.pl')
-rw-r--r-- | lib/find.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/find.pl b/lib/find.pl index d55cd33122..40e613e97e 100644 --- a/lib/find.pl +++ b/lib/find.pl @@ -39,8 +39,8 @@ sub find { ($dir,$_) = ($topdir,'.'); $name = $topdir; &wanted; - $topdir =~ s,/$,, ; - &finddir($topdir,$topnlink); + ($fixtopdir = $topdir) =~ s,/$,, ; + &finddir($fixtopdir,$topnlink); } else { warn "Can't cd to $topdir: $!\n"; |