[Haiku-commits] r21778 - haiku/trunk/build/jam

axeld at BerliOS axeld at mail.berlios.de
Wed Aug 1 00:37:22 CEST 2007


Author: axeld
Date: 2007-08-01 00:37:21 +0200 (Wed, 01 Aug 2007)
New Revision: 21778
ViewCVS: http://svn.berlios.de/viewcvs/haiku?rev=21778&view=rev

Modified:
   haiku/trunk/build/jam/MiscRules
Log:
bonefish: Fixed bug #1346. The relative output directory for the root directory was
computed as '.' which resulted in output path ending with '/.', causing mkdir to choke.


Modified: haiku/trunk/build/jam/MiscRules
===================================================================
--- haiku/trunk/build/jam/MiscRules	2007-07-31 21:50:28 UTC (rev 21777)
+++ haiku/trunk/build/jam/MiscRules	2007-07-31 22:37:21 UTC (rev 21778)
@@ -2,6 +2,9 @@
 rule SetupObjectsDir
 {
 	local relPath = [ FDirName $(SUBDIR_TOKENS[2-]) ] ;
+	if $(relPath) = . {
+		relPath = ;
+	}
 	COMMON_PLATFORM_LOCATE_TARGET =
 		[ FDirName $(HAIKU_COMMON_PLATFORM_OBJECT_DIR) $(relPath) ] ;
 




More information about the Haiku-commits mailing list