-#!/bin/bash
-# Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE
+#!/bin/sh
+# Copyright (C) 2007-2021 CEA/DEN, EDF R&D, OPEN CASCADE
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
-for i in $1/env.d/*.sh; do source ${i}; done
+for i in $1/env.d/*.sh
+do
+ . "${i}"
+done