]> OCCT Git - occt-wok.git/commitdiff
correction of Makefile.am generation problem for Productsnl on Linux resource
authorcascade <cascade@opencascade.com>
Tue, 26 Jul 2005 18:02:07 +0000 (18:02 +0000)
committercascade <cascade@opencascade.com>
Tue, 26 Jul 2005 18:02:07 +0000 (18:02 +0000)
src/WOKTclLib/osutils.tcl

index aba3f5cf111e474ea581634f453bc551694b47f9..837ed8e0923cfd897c2ed14d6840409e8b12a258 100755 (executable)
@@ -1437,7 +1437,7 @@ proc osutils:am:PkCXXOption ppk {
        set CXXStr  [lindex [wokparam -e %CMPLRS_CXX_Options [woklocate -u $pk]] 0]
        set LastIndex [expr {[string length $CXXCOMMON ] - 1}]
        if {[string equal $CXXCOMMON [string range $CXXStr 0 $LastIndex]]} {
-         set CXXOption [string range  $CXXStr $LastIndex end ]
+           set CXXOption " "
        } else {
          set CXXOption [string range $CXXStr 0 [expr {[string last $CXXCOMMON $CXXStr] - 1}]]
        }