Permalink
Browse files

fix it correctly

  • Loading branch information...
jafl committed Sep 23, 2012
1 parent 20434ef commit 274019fb8bd8f966cf33854405d2d3eadc1a49ef
Showing with 3 additions and 2 deletions.
  1. +3 −2 cli/upload.pl
View
@@ -315,9 +315,10 @@ ($$$;$)
opendir(my $h, $path);
for my $d (readdir($h))
{
- if (-d $d && $d !~ /^\./)
+ my $p = $path.'/'.$d;
+ if (-d $p && $d !~ /^\./)
{
- send_module($token, $path.'/'.$d, $d);
+ send_module($token, $p, $d);
}
}
closedir($h);

0 comments on commit 274019f

Please sign in to comment.