commit 9a277e9f23feb29b43908cf9d3d69347591db9b5 parent 37d433c5ce57f42a124cbffddbf9b7f9ca3eddf4 Author: Vincent Forest <vincent.forest@meso-star.com> Date: Tue, 31 Oct 2023 16:54:44 +0100 Explicitly enable the -e option in the shell scripts It was previously defined in the shebang but was actually ignore. Diffstat:
44 files changed, 132 insertions(+), 44 deletions(-)
diff --git a/src/atrri_0.1.sh b/src/atrri_0.1.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${ATRRI_SH}" ] && return export ATRRI_SH=1 diff --git a/src/atrstm_0.1.sh b/src/atrstm_0.1.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${ATRSTM_SH}" ] && return export ATRSTM_SH=1 diff --git a/src/atrtp_0.1.sh b/src/atrtp_0.1.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${ATRTP_SH}" ] && return export ATRTP_SH=1 diff --git a/src/aw_2.1.sh b/src/aw_2.1.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${AW_SH}" ] && return export AW_SH=1 diff --git a/src/build.sh b/src/build.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${BUILD_SH}" ] && return export BUILD_SH=1 diff --git a/src/embree_4.0.1.sh b/src/embree_4.0.1.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${EMBREE_SH}" ] && return export EMBREE_SH=1 diff --git a/src/htcp_0.1.sh b/src/htcp_0.1.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${HTCP_SH}" ] && return export HTCP_SH=1 diff --git a/src/htgop_0.2.sh b/src/htgop_0.2.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${HTGOP_SH}" ] && return export HTGOP_SH=1 diff --git a/src/htmie_0.1.sh b/src/htmie_0.1.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${HTMIE_SH}" ] && return export HTMIE_SH=1 diff --git a/src/htpp_0.5.sh b/src/htpp_0.5.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${HTPP_SH}" ] && return export HTPP_SH=1 diff --git a/src/htrdr_0.10.sh b/src/htrdr_0.10.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${HTRDR_SH}" ] && return export HTRDR_SH=1 diff --git a/src/htsky_0.3.sh b/src/htsky_0.3.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${HTSKY_SH}" ] && return export HTSKY_SH=1 diff --git a/src/mrumtl_0.2.sh b/src/mrumtl_0.2.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${MRUMTL_SH}" ] && return export MRUMTL_SH=1 diff --git a/src/noweb_2.13rc3.sh b/src/noweb_2.13rc3.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${NOWEB_SH}" ] && return export NOWEB_SH=1 diff --git a/src/polygon_0.2.sh b/src/polygon_0.2.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${POLYGON_SH}" ] && return export POLYGON_SH=1 diff --git a/src/prereq.sh b/src/prereq.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + # Print the prerequisites of a shell submitted as argument. The scripts # recursively looks for "dot" files and print their filename to standard # output. diff --git a/src/random123_1.14.0.sh b/src/random123_1.14.0.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${RANDOM1233_SH}" ] && return export RANDOM123_SH=1 diff --git a/src/rnatm_0.1.sh b/src/rnatm_0.1.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${RNATM_SH}" ] && return export RNATM_SH=1 diff --git a/src/rngrd_0.1.sh b/src/rngrd_0.1.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${RNGRD_SH}" ] && return export RNGRD_SH=1 diff --git a/src/rnsf_0.1.sh b/src/rnsf_0.1.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${RNSF_SH}" ] && return export RNSF_SH=1 diff --git a/src/rnsl_0.1.sh b/src/rnsl_0.1.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${RNSL_SH}" ] && return export RNSL_SH=1 diff --git a/src/rsimd_0.5.sh b/src/rsimd_0.5.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${RSIMD_SH}" ] && return export RSIMD_SH=1 diff --git a/src/rsys_0.14.sh b/src/rsys_0.14.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${RSYS_SH}" ] && return export RSYS_SH=1 diff --git a/src/scdoc_1.11.2-r1.sh b/src/scdoc_1.11.2-r1.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${NOWEB_SH}" ] && return export NOWEB_SH=1 diff --git a/src/sgs.sh b/src/sgs.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + # Build for the dependencies of the Star Geometric Sensitivity project [ -n "${SGS_SH}" ] && return diff --git a/src/sleef_3.5.2-r0.sh b/src/sleef_3.5.2-r0.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${SLEEF_SH}" ] && return export SLEEF_SH=1 diff --git a/src/star-2d_0.7.sh b/src/star-2d_0.7.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${STAR_2D_SH}" ] && return export STAR_2D_SH=1 diff --git a/src/star-3d_0.10.sh b/src/star-3d_0.10.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${STAR_3D_SH}" ] && return export STAR_3D_SH=1 diff --git a/src/star-3daw_0.5.sh b/src/star-3daw_0.5.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${STAR_3DAW_SH}" ] && return export STAR_3DAW_SH=1 diff --git a/src/star-3dstl_0.4.sh b/src/star-3dstl_0.4.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${STAR_3DSTL_SH}" ] && return export STAR_3DSTL_SH=1 diff --git a/src/star-3dut_0.4.sh b/src/star-3dut_0.4.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${STAR_3DUT}" ] && return export STAR_3DUT_SH=1 diff --git a/src/star-aerosol_0.1.sh b/src/star-aerosol_0.1.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${STAR_AEROSOL_SH}" ] && return export STAR_AEROSOL_SH=1 diff --git a/src/star-buffer_0.1.sh b/src/star-buffer_0.1.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${STAR_BUFFER_SH}" ] && return export STAR_BUFFER_SH=1 diff --git a/src/star-camera_0.2.sh b/src/star-camera_0.2.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${STAR_CAMERA_SH}" ] && return export STAR_CAMERA_SH=1 diff --git a/src/star-ck_0.1.sh b/src/star-ck_0.1.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${STAR_CK_SH}" ] && return export STAR_CK_SH=1 diff --git a/src/star-cmap_0.1.sh b/src/star-cmap_0.1.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${STAR_CMAP_SH}" ] && return export STAR_CMAP_SH=1 diff --git a/src/star-engine_0.15.sh b/src/star-engine_0.15.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${STAR_ENGINE_SH}" ] && return export STAR_ENGINE_SH=1 diff --git a/src/star-mc_0.6.sh b/src/star-mc_0.6.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${STAR_MC_SH}" ] && return export STAR_MC_SH=1 diff --git a/src/star-mesh_0.1.sh b/src/star-mesh_0.1.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${STAR_MESH_SH}" ] && return export STAR_MESH_SH=1 diff --git a/src/star-sf_0.9.sh b/src/star-sf_0.9.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${STAR_SF_SH}" ] && return export STAR_SF_SH=1 diff --git a/src/star-sp_0.14.sh b/src/star-sp_0.14.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${STAR_SP_SH}" ] && return export STAR_SP_SH=1 diff --git a/src/star-stl_0.5.sh b/src/star-stl_0.5.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${STAR_STL_SH}" ] && return export STAR_STL_SH=1 diff --git a/src/star-uvm_0.3.sh b/src/star-uvm_0.3.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${STAR_UVM_SH}" ] && return export STAR_UVM_SH=1 diff --git a/src/star-vx_0.3.sh b/src/star-vx_0.3.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Copyright (C) 2023 |Méso|Star> (contact@meso-star.com) # @@ -15,6 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +set -e + [ -n "${STAR_VX_SH}" ] && return export STAR_VX_SH=1