From 8acc37366eaebf9ade14074a452d8b275f9c7b6c Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 2 Mar 2011 15:35:34 +0000 Subject: [PATCH] 0021196: [CEA 456] Integration and merge modification for debian packages visu-replace-csh-stderr.patch 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 --- src/VISU_I/VISU_TimeAnimation.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VISU_I/VISU_TimeAnimation.cxx b/src/VISU_I/VISU_TimeAnimation.cxx index 6e45c8bd..24d6ffae 100644 --- a/src/VISU_I/VISU_TimeAnimation.cxx +++ b/src/VISU_I/VISU_TimeAnimation.cxx @@ -1685,7 +1685,7 @@ bool VISU_TimeAnimation::checkAVIMaker() const QString aCmd("which "); aCmd += myAVIMaker; - aCmd += " >& /dev/null"; + aCmd += " 2> /dev/null"; int iErr = system(aCmd.toLatin1().data()); return (iErr == 0); } -- 2.39.2