Skip to content

Commit

Permalink
Add bash version checking for sip_include.sh.
Browse files Browse the repository at this point in the history
  • Loading branch information
ismailsunni authored and m-kuhn committed Jul 27, 2017
1 parent 6cb9fa8 commit 4aaecb9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/sip_include.sh
Expand Up @@ -15,6 +15,12 @@
###########################################################################
set -e

if [ $BASH_VERSINFO -lt 4 ]; then
echo "You need bash version 4+ to run this script."
echo "Your bash version is $BASH_VERSION"
exit 1
fi

DIR=$(git rev-parse --show-toplevel)

pushd ${DIR} > /dev/null
Expand Down

0 comments on commit 4aaecb9

Please sign in to comment.