summaryrefslogtreecommitdiff
path: root/setup_environment
diff options
context:
space:
mode:
authortgrogers <[email protected]>2017-07-12 17:03:30 -0400
committertgrogers <[email protected]>2017-07-12 17:03:30 -0400
commitf8e84eefc92d7d63554472e0bb88fe691f40701d (patch)
treebe1d1a91dfd1279b12049cff707bef28535fdc5d /setup_environment
parente9736f3b054062744c4bb81d38b7402944eb5480 (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_environment2
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 )"