Make all scripts portable regardless of where bash is installed.

This commit is contained in:
Rickard von Essen 2015-11-04 15:29:26 +01:00
parent 70e7e953b1
commit 38612d45a9
4 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# #
# This script builds the application from source for multiple platforms. # This script builds the application from source for multiple platforms.
set -e set -e

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -e set -e
# Get the parent directory of where this script is. # Get the parent directory of where this script is.

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -e set -e
# Get the parent directory of where this script is. # Get the parent directory of where this script is.

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Set the tmpdir # Set the tmpdir
if [ -z "$TMPDIR" ]; then if [ -z "$TMPDIR" ]; then