From 2af2822b24db4b0efe843616a185aebf9b193940 Mon Sep 17 00:00:00 2001 From: Gustavo De Nardin Date: Wed, 13 Jun 2007 01:48:54 +0000 Subject: no such 'cd' function, 'chdir' it is... --- lib/Youri/Submit/Action/Link.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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; } } } -- cgit v1.2.1