-#! /bin/sh
+#!/usr/bin/env sh
#
# This little script rebuilds and runs the SimGrid archive in parallel, extracting a log
# This is almost an internal script, but others may find this useful
-DGFORTRAN_EXE=/some/path/to/i686-linux-gnu-gfortran \
-DCMAKE_Fortran_FLAGS=-m32
If needed, implement i686-linux-gnu-gfortran as a script:
-#!/bin/sh
+#!/usr/bin/env sh
exec gfortran -m32 "$@"
Existing Compilation Targets
If needed, implement @c i686-linux-gnu-gfortran as a script:
@verbatim
-#!/bin/sh
+#!/usr/bin/env sh
exec gfortran -m32 "$@"
@endverbatim
-#!/bin/sh
+#!/usr/bin/env sh
# Run the same test compiled with -fstack-cleaner / f-no-stack-cleaner
# and compare the output.
-#! /bin/sh
+#!/usr/bin/env sh
# Copyright (c) 2007-2017. The SimGrid Team. All rights reserved.
-#! /bin/sh
+#!/usr/bin/env sh
# Copyright (c) 2007-2017. The SimGrid Team.
# All rights reserved.
-#! /bin/sh
+#!/usr/bin/env sh
# Copyright (c) 2014-2017. The SimGrid Team.
# All rights reserved.
-#! /bin/sh
+#!/usr/bin/env sh
# Copyright (c) 2012-2017. The SimGrid Team.
# All rights reserved.
-#! /bin/sh
+#!/usr/bin/env sh
# Copyright (c) 2012-2017. The SimGrid Team.
# All rights reserved.
-#! /bin/sh
+#!/usr/bin/env sh
# Copyright (c) 2007-2016, The SimGrid Team. All rights reserved.
-#!/bin/sh
+#!/usr/bin/env sh
# Copyright (c) 2013-2017. The SimGrid Team.
# All rights reserved.
-#!/bin/sh
+#!/usr/bin/env sh
cd $(dirname $0)/../../
-#!/bin/sh
+#!/usr/bin/env sh
# Generate files from a given dwarf.h
# Usage: tools/generate-dwarf-functions /usr/include/dwarf.h
-#! /bin/sh
+#!/usr/bin/env sh
# Install and run SonarQube on travis.
#
-#!/bin/sh
+#!/usr/bin/env sh
set -e
-#!/bin/sh
+#!/usr/bin/env sh
set -e
-#!/bin/sh
+#!/usr/bin/env sh
set -e
-#!/bin/sh
+#!/usr/bin/env sh
set -e
-#!/bin/sh
+#!/usr/bin/env sh
set -e
-#!/bin/sh
+#!/usr/bin/env sh
# This script is used by various build projects on Jenkins
-#!/bin/sh
+#!/usr/bin/env sh
path="$(dirname $0)"
exec "$path"/compiler-wrapper c++ "$@"
-#!/bin/sh
+#!/usr/bin/env sh
path="$(dirname $0)"
exec "$path"/compiler-wrapper cc "$@"
-#!/bin/sh
+#!/usr/bin/env sh
path="$(dirname $0)"
exec "$path"/compiler-wrapper gfortran "$@"
-#!/bin/sh
+#!/usr/bin/env sh
# Generate a tesh file from a given command (simple case).
command="$1"
tesh_exit(3)
except OSError as osE:
if osE.errno == 8:
- osE.strerror += "\nOSError: [Errno 8] Executed scripts should start with shebang line (like #!/bin/sh)"
+ osE.strerror += "\nOSError: [Errno 8] Executed scripts should start with shebang line (like #!/usr/bin/env sh)"
raise osE
cmdName = FileReader().filename+":"+str(self.linenumber)