Changeset 7652c19 for core/c


Ignore:
Timestamp:
Oct 7, 2011 9:13:39 PM (9 years ago)
Author:
kytv <kytv@…>
Branches:
master
Children:
66ba367, 8340549
Parents:
39b741f
Message:

Abort if bash is not being used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/c/jbigi/mbuild-all.sh

    r39b741f r7652c19  
    11#!/usr/bin/env bash
     2
     3if [ -z "$BASH_VERSION" ]; then
     4        echo "This script needs to be run with Bash."
     5        echo
     6        echo "Please install bash and then run this script with"
     7        echo "bash $0"
     8        exit 1
     9fi
    210
    311#FIXME What platforms for MacOS?
Note: See TracChangeset for help on using the changeset viewer.