aboutsummaryrefslogtreecommitdiffstats
path: root/IRC
diff options
context:
space:
mode:
authortv <tv@xso>2011-09-09 22:36:31 +0200
committertv <tv@xso>2011-09-09 22:36:31 +0200
commit7d3a0c271fab627f7e0d9a0af265e121579ff88f (patch)
tree3c437a616226dbc1c94b14275abc22569fa759ca /IRC
parentbf16cb04f34590f3d8b5155fb076ded967793849 (diff)
//Reaktor: commands have PWD //Reaktor
Diffstat (limited to 'IRC')
-rwxr-xr-xIRC/index7
-rwxr-xr-xIRC/install1
2 files changed, 5 insertions, 3 deletions
diff --git a/IRC/index b/IRC/index
index 41e3a22..68b6cf3 100755
--- a/IRC/index
+++ b/IRC/index
@@ -1,8 +1,9 @@
#! /bin/sh
set -xeuf
-cd $(dirname $(readlink -f $0))
+# cd //Reaktor
+cd $(dirname $(readlink -f $0))/..
-./install
+IRC/install
-exec python bot2.py "$@"
+exec python IRC/bot2.py "$@"
diff --git a/IRC/install b/IRC/install
index 95e0519..d5f7a8c 100755
--- a/IRC/install
+++ b/IRC/install
@@ -1,6 +1,7 @@
#! /bin/sh
set -xeuf
+# cd //Reaktor/IRC
cd $(dirname $(readlink -f $0))
# install irclib.py