diff options
| author | Devendra | 2014-04-30 00:43:56 +0530 | 
|---|---|---|
| committer | Devendra | 2014-04-30 00:43:56 +0530 | 
| commit | 8395a9a3922e345608aa1e49b4aa27b9d5927a0d (patch) | |
| tree | ef8da82db44727cfe4306dabee56d418bad169fe /python/examples/start-console.sh | |
| parent | d703c34d918a75a4d5a984143c8fbd5049931b1a (diff) | |
| download | pubnub-python-8395a9a3922e345608aa1e49b4aa27b9d5927a0d.tar.bz2 | |
making tweaks to run on osx
Diffstat (limited to 'python/examples/start-console.sh')
| -rw-r--r-- | python/examples/start-console.sh | 10 | 
1 files changed, 9 insertions, 1 deletions
| diff --git a/python/examples/start-console.sh b/python/examples/start-console.sh index df4fd6e..e842427 100644 --- a/python/examples/start-console.sh +++ b/python/examples/start-console.sh @@ -1,3 +1,4 @@ +#!/bin/bash  if ! type "screen" > /dev/null; then      echo "[ERROR] Screen is not installed. Please install screen to use this utility ."      exit @@ -5,4 +6,11 @@ fi  rm ./pubnub-console.log  touch ./pubnub-console.log  set PYTHONPATH=../.. -screen -c config +screen -X -S pubnub-console quit 2>&1 > /dev/null +OS="`uname`" +case $OS in +  'darwin')  +	screen -c config_osx +    ;; +  *) screen -c config;; +esac | 
