From: eap Date: Tue, 1 Mar 2011 12:38:31 +0000 (+0000) Subject: 0021196: [CEA 456] Integration and merge modification for debian packages X-Git-Tag: Start_BR_19998_21191~48 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=da34738b6e278a16d6f233d2fe8b3e4136c17796;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 "#"