diff options
author | jshalf <jshalf@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2004-05-13 21:46:10 +0000 |
---|---|---|
committer | jshalf <jshalf@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2004-05-13 21:46:10 +0000 |
commit | 08a96f793c933230dbe600b3e65b4595b2c6ca69 (patch) | |
tree | a9d8f19253a1ad9cc950232a40fb455f227c0a92 /lib/sbin/MakeUtils.pl | |
parent | 06ac76bbf25725f3496d3f9969fab03b7832a2da (diff) |
Fix errors in the script for changing the cwd to $arrangements_dir.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@3727 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/sbin/MakeUtils.pl')
-rw-r--r-- | lib/sbin/MakeUtils.pl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/sbin/MakeUtils.pl b/lib/sbin/MakeUtils.pl index 806012bd..5a7a58ee 100644 --- a/lib/sbin/MakeUtils.pl +++ b/lib/sbin/MakeUtils.pl @@ -36,7 +36,7 @@ else chomp ($home); } - chdir $arrangement_dir || die "Can't change directory to $arrangement_dir\n"; + chdir "$home/$arrangement_dir" || die "Can't change directory to $home/$arrangement_dir\n"; open(ARRANGEMENTS, "ls|"); @@ -89,7 +89,8 @@ else push(@total_list, "$arrangement/$_"); } } - chdir ($arrangement_dir) || die "Can't change directory to $arrangement_dir\n"; + # print "\nThis directory path is wrong. cwd=",`pwd`,"\n"; + chdir "$home/$arrangement_dir" || die "Can't change directory to $home/$arrangement_dir\n"; } } |