summaryrefslogtreecommitdiffstats
path: root/Reaktor/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
commitfb94c450c508bf6c7c0ea1188252e590d5318f9f (patch)
tree94661d7e084c29b7b14029379f684e8be5b02cdc /Reaktor/IRC
parente011f641ce86d3d56dd83862fc2282c6d9ff95bc (diff)
//Reaktor: commands have PWD //Reaktor
Diffstat (limited to 'Reaktor/IRC')
-rwxr-xr-xReaktor/IRC/index7
-rwxr-xr-xReaktor/IRC/install1
2 files changed, 5 insertions, 3 deletions
diff --git a/Reaktor/IRC/index b/Reaktor/IRC/index
index 41e3a227..68b6cf33 100755
--- a/Reaktor/IRC/index
+++ b/Reaktor/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/Reaktor/IRC/install b/Reaktor/IRC/install
index 95e05199..d5f7a8c1 100755
--- a/Reaktor/IRC/install
+++ b/Reaktor/IRC/install
@@ -1,6 +1,7 @@
#! /bin/sh
set -xeuf
+# cd //Reaktor/IRC
cd $(dirname $(readlink -f $0))
# install irclib.py