make.adb (Change_To_Object_Directory): When unable to change the current dir to the object directory...

2005-07-04  Vincent Celier  <celier@adacore.com>

	* make.adb (Change_To_Object_Directory): When unable to change the
	current dir to the object directory, output the full path of the
	directory.

From-SVN: r101580
This commit is contained in:
Vincent Celier 2005-07-04 15:28:11 +02:00 committed by Arnaud Charlet
parent 4a2ddf6697
commit ecca38c467
1 changed files with 5 additions and 1 deletions

View File

@ -1097,7 +1097,11 @@ package body Make is
-- Fail if unable to change to the object directory
when Directory_Error =>
Make_Failed ("unable to change to object directory of project " &
Make_Failed ("unable to change to object directory """ &
Get_Name_String
(Project_Tree.Projects.Table
(Actual_Project).Object_Directory) &
""" of project " &
Get_Name_String (Project_Tree.Projects.Table
(Actual_Project).Display_Name));
end Change_To_Object_Directory;