Revision: 57185
http://sourceforge.net/p/brlcad/code/57185
Author: starseeker
Date: 2013-08-27 19:14:25 +0000 (Tue, 27 Aug 2013)
Log Message:
-----------
Don't just print the error if the file isn't found, return an error code
Modified Paths:
--------------
brlcad/trunk/src/tclscripts/CMakeLists.txt
Modified: brlcad/trunk/src/tclscripts/CMakeLists.txt
===================================================================
--- brlcad/trunk/src/tclscripts/CMakeLists.txt 2013-08-27 19:01:19 UTC (rev
57184)
+++ brlcad/trunk/src/tclscripts/CMakeLists.txt 2013-08-27 19:14:25 UTC (rev
57185)
@@ -6,6 +6,7 @@
catch {auto_mkindex $arg *.tcl *.itcl *.itk *.sh} errout
if {![file exists \"$arg/tclIndex\"]} {
puts \"$errout\"
+ return -code 1
}
}")
file(WRITE "${CMAKE_BINARY_DIR}/CMakeTmp/pkg_mkIndex.tcl" "
@@ -14,6 +15,7 @@
catch {pkg_mkIndex -verbose $arg *.tcl *.itcl *.itk *.sh} errout
if {![file exists \"$arg/pkgIndex.tcl\"]} {
puts \"$errout\"
+ return -code 1
}
}")
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits