]> TLD Linux GIT Repositories - tld-builder.git/blob - bin/rpm-builder.sh
- more python 3.x fixes
[tld-builder.git] / bin / rpm-builder.sh
1 #!/bin/sh
2
3 umask 022
4 export LC_CTYPE=en_US.iso-8859-1
5 CONFIG=$HOME/.tldbuilderrc
6 [ -f "$CONFIG" ] && . $CONFIG
7 if [ -z "$BUILDERPATH" ]; then
8         dir=$(dirname "$0")
9         BUILDERPATH="$(cd "$dir"/..; pwd)"
10 fi
11 export BUILDERPATH
12
13 cd $BUILDERPATH
14 exec python3 TLD_Builder/rpm_builder.py $1