Skip to content
Permalink
Browse files

Add bash version checking for sip_include.sh.

  • Loading branch information
ismailsunni authored and m-kuhn committed Jul 27, 2017
1 parent 6cb9fa8 commit 4aaecb95ba25514530e5671fe38d63f02cb8b363
Showing with 6 additions and 0 deletions.
  1. +6 −0 scripts/sip_include.sh
@@ -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

0 comments on commit 4aaecb9

Please sign in to comment.
You can’t perform that action at this time.