aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Youri/Submit/Action/Link.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Youri/Submit/Action/Link.pm b/lib/Youri/Submit/Action/Link.pm
index 9633621..62360fd 100644
--- a/lib/Youri/Submit/Action/Link.pm
+++ b/lib/Youri/Submit/Action/Link.pm
@@ -50,14 +50,14 @@ sub run {
if (! $self->{_test}) {
my $current_dir = cwd();
- cd $other_dir;
+ chdir $other_dir;
my $default_file = File::Spec->abs2rel($default_dir) . '/' . $file;
if ($self->{_symbolic}) {
symlink $default_file, $file;
} else {
link $default_file, $file;
}
- cd $current_dir;
+ chdir $current_dir;
}
}
}