diff --git a/script/noosfero-plugins b/script/noosfero-plugins index 5a3e4c6..daf55ac 100755 --- a/script/noosfero-plugins +++ b/script/noosfero-plugins @@ -8,7 +8,7 @@ if [ -e /etc/default/noosfero ]; then . /etc/default/noosfero fi -if [ -z "$NOOSFERO_DIR"]; then +if [ -z "$NOOSFERO_DIR" ]; then this_script=$(readlink -f $0) NOOSFERO_DIR=$(dirname $this_script | xargs dirname) fi -- libgit2 0.21.2