diff options
| author | tgrogers <[email protected]> | 2017-07-12 17:03:30 -0400 |
|---|---|---|
| committer | tgrogers <[email protected]> | 2017-07-12 17:03:30 -0400 |
| commit | f8e84eefc92d7d63554472e0bb88fe691f40701d (patch) | |
| tree | be1d1a91dfd1279b12049cff707bef28535fdc5d /setup_environment | |
| parent | e9736f3b054062744c4bb81d38b7402944eb5480 (diff) | |
Getting jenkins to work by changing the error on shell type to a warning. The way we detect the shell is not fool-proof and fails for jenkins, although we are using bash
Diffstat (limited to 'setup_environment')
| -rw-r--r-- | setup_environment | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setup_environment b/setup_environment index 854a335..0895d44 100644 --- a/setup_environment +++ b/setup_environment @@ -1,6 +1,6 @@ # see README before running this -ps -p $$ | awk '/bash/ || / sh/ || /zsh/ {exit 1;}' && echo "ERROR ** source setup_environment must be run in a bash, zsh or sh shell; see README" && exit +ps -p $$ | awk '/bash/ || / sh/ || /zsh/ {exit 1;}' && echo "WARNING ** source setup_environment must be run in a bash, zsh or sh shell; see README" export GPGPUSIM_SETUP_ENVIRONMENT_WAS_RUN= export GPGPUSIM_ROOT="$( cd "$( dirname "$BASH_SOURCE" )" && pwd )" |
