X-Git-Url: https://git.tld-linux.org/?p=tld-builder.git;a=blobdiff_plain;f=bin%2Fmaintainer.sh;h=7eecd213afa01b2321eb0dd1fb325adfeaa7b214;hp=e490b02d23d77565b044ae7428e8ceed555bdb18;hb=b999f53d4bf5d44586ecf028876e8bc20b5fd2ce;hpb=37463eaa22f48f5fecbb90e69ef67a69e0bf9788 diff --git a/bin/maintainer.sh b/bin/maintainer.sh index e490b02..7eecd21 100755 --- a/bin/maintainer.sh +++ b/bin/maintainer.sh @@ -3,10 +3,13 @@ umask 022 export LC_CTYPE=en_US.iso-8859-1 -CONFIG=$HOME/.pldbuilderrc +CONFIG=$HOME/.tldbuilderrc [ -f "$CONFIG" ] && . $CONFIG -[ -n "$BUILDERPATH" ] || BUILDERPATH="$HOME/pld-builder.new/" +if [ -z "$BUILDERPATH" ]; then + dir=$(dirname "$0") + BUILDERPATH="$(cd "$dir"/..; pwd)" +fi export BUILDERPATH cd $BUILDERPATH -exec python PLD_Builder/maintainer.py +exec python TLD_Builder/maintainer.py