]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
sha 475f231 breaks omniidl fix
authorSergey Kochetkov <Sergey.Kochetkov@opencascade.com>
Tue, 4 Oct 2022 19:54:58 +0000 (21:54 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Tue, 4 Oct 2022 19:54:58 +0000 (21:54 +0200)
products/compil_scripts/omniORB.sh

index b58b045af4f4b6b9e5758a91be5189ea778a35aa..abd2a8e20f25ad6e3dd82af61f2c1ec2b597afde 100755 (executable)
@@ -42,10 +42,10 @@ if version_ge $VERSION "4.1" ; then
     echo
     echo "*** fix headers"
     cd $PRODUCT_INSTALL/bin
-    sed -e "s%#\!.*python%#\!/usr/bin/env python3%" omniidl > _omniidl
+    sed -e "s%#\!.*python[0-9]*%#\!/usr/bin/env python3%" omniidl > _omniidl
     mv -f _omniidl omniidl
     chmod a+x omniidl
-    sed -e "s%#\!.*python%#\!/usr/bin/env python3%" omniidlrun.py > _omniidlrun.py
+    sed -e "s%#\!.*python[0-9]*%#\!/usr/bin/env python3%" omniidlrun.py > _omniidlrun.py
     mv -f _omniidlrun.py omniidlrun.py
     chmod a+x omniidlrun.py
 fi