From: eap Date: Tue, 1 Mar 2011 13:14:26 +0000 (+0000) Subject: 0021196: [CEA 456] Integration and merge modification for debian packages X-Git-Tag: V5_1_main_FINAL~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=49e0ec7d48f7c83d832d73a8f6645829177b1c7a;p=modules%2Fgui.git 0021196: [CEA 456] Integration and merge modification for debian packages Replace >& csh construct by 2> The former is recognized by bash, but not all by POSIX shells, for instance dash throws this error: sh: Syntax error: Bad fd number --- diff --git a/src/SVTK/SVTK_Recorder.cxx b/src/SVTK/SVTK_Recorder.cxx index bba8a401f..2b4758590 100755 --- a/src/SVTK/SVTK_Recorder.cxx +++ b/src/SVTK/SVTK_Recorder.cxx @@ -116,7 +116,7 @@ SVTK_Recorder myErrorStatus = 0; using namespace std; ostringstream aStream; - aStream<<"which "<& /dev/null"; + aStream<<"which "< /dev/null"; std::string anAVIMakeCheck = aStream.str(); int iErr = system(anAVIMakeCheck.c_str()); if(iErr != 0)