aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo De Nardin <spuk@mandriva.org>2007-06-13 01:48:54 +0000
committerGustavo De Nardin <spuk@mandriva.org>2007-06-13 01:48:54 +0000
commit2af2822b24db4b0efe843616a185aebf9b193940 (patch)
treeb5872a20f3d9814bcdf332267d4f913e91f01f7c
parent7c973b4958c95a3cc1a49d5e70657f49882679bc (diff)
downloadmga-youri-submit-2af2822b24db4b0efe843616a185aebf9b193940.tar
mga-youri-submit-2af2822b24db4b0efe843616a185aebf9b193940.tar.gz
mga-youri-submit-2af2822b24db4b0efe843616a185aebf9b193940.tar.bz2
mga-youri-submit-2af2822b24db4b0efe843616a185aebf9b193940.tar.xz
mga-youri-submit-2af2822b24db4b0efe843616a185aebf9b193940.zip
no such 'cd' function, 'chdir' it is...
-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;
}
}
}