From: eap Date: Tue, 1 Mar 2011 12:10:48 +0000 (+0000) Subject: 0021196: [CEA 456] Integration and merge modification for debian packages X-Git-Tag: V5_1_main_FINAL~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4602d36ca741e2c695609bf02462f4bc8b9efbaf;p=modules%2Fkernel.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/bin/waitNS.sh b/bin/waitNS.sh index 38e0bcf6f..12d8ca44c 100755 --- a/bin/waitNS.sh +++ b/bin/waitNS.sh @@ -23,7 +23,7 @@ status=1 while [ $status -ne 0 ]; do - ls $HOME/$APPLI/USERS/.omniORB_${USER}_last.cfg >& /dev/null + ls $HOME/$APPLI/USERS/.omniORB_${USER}_last.cfg 2> /dev/null status=$? sleep 1 echo -n "#"