]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
0021196: [CEA 456] Integration and merge modification for debian packages
authoreap <eap@opencascade.com>
Tue, 1 Mar 2011 12:10:48 +0000 (12:10 +0000)
committereap <eap@opencascade.com>
Tue, 1 Mar 2011 12:10:48 +0000 (12:10 +0000)
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

bin/waitNS.sh

index 38e0bcf6f08dc8f4b6feff79ac1fe977b1dcd0cb..12d8ca44cac46e1716e824c38730a6c5c32069f0 100755 (executable)
@@ -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 "#"