From 5e486fe7fa9a78fa50f55b42d92ccd8228828fa5 Mon Sep 17 00:00:00 2001 From: yagop Date: Mon, 30 Jun 2014 12:53:15 +0200 Subject: [PATCH] simple launch script --- launch.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 launch.sh diff --git a/launch.sh b/launch.sh new file mode 100755 index 0000000..3deb6c0 --- /dev/null +++ b/launch.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +cd tg + +if [ ! -f ./telegram ]; then + echo "Compile telegram first:" + echo "cd tg && ./configure && make" + exit +fi + +./telegram -s ../bot/bot.lua