groupby / hubot-hangups

Hubot adapter using hangups
39 stars 3 forks source link

Hubot-hangups won't find env variable. #31

Closed 9000-volts closed 9 years ago

9000-volts commented 9 years ago

This was my process for setting up hangups:

$ mkdir hangbot
$ cd hangbot
$ yo hubot # Selected hangups as adapter
$ cat > start.sh
#!/bin/bash
set HUBOT_HANGUPS_PYTHON=python3.3
bin/hubot -a hangups
^D
$ chmod +x start.sh

But still, when I run ./start.sh, I get:

ERROR: Set the HUBOT_HANGUPS_PYTHON env variable to ... (etc)

I have checked and the python3.3 binary is installed and working. I don't know why this happens. System: Trisquel GNU/Linux

9000-volts commented 9 years ago

Had to replace set with export.