From fb94c450c508bf6c7c0ea1188252e590d5318f9f Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 9 Sep 2011 22:36:31 +0200 Subject: //Reaktor: commands have PWD //Reaktor --- Reaktor/IRC/index | 7 ++++--- Reaktor/IRC/install | 1 + Reaktor/commands/caps | 2 +- Reaktor/index | 1 + 4 files changed, 7 insertions(+), 4 deletions(-) (limited to 'Reaktor') 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 diff --git a/Reaktor/commands/caps b/Reaktor/commands/caps index f6a1e49d..bc3d7ba2 100755 --- a/Reaktor/commands/caps +++ b/Reaktor/commands/caps @@ -1,4 +1,4 @@ #! /bin/sh set -euf -cd ../public_commands +cd public_commands echo `ls` diff --git a/Reaktor/index b/Reaktor/index index 4584e4af..ac647ca3 100755 --- a/Reaktor/index +++ b/Reaktor/index @@ -1,6 +1,7 @@ #! /bin/sh set -euf +# cd //Reaktor cd $(dirname $(readlink -f $0)) exec IRC/index -- cgit v1.2.3