Moved setup, translation config files into subdir

This commit is contained in:
str4d
2013-08-15 08:30:01 +00:00
parent 5816bafb17
commit 4ae84aa9e2
17 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
#!/bin/sh
. ./translation.vars
. ./etc/translation.vars
if [ $# -ge 1 ]
then

View File

@ -1,6 +1,6 @@
PROJECT=I2P
VERSION=website
BABELCFG=babel.cfg
BABELCFG=etc/babel.cfg
POTDIR=pots
PROJDIR=i2p2www
TRANSDIR=$PROJDIR/translations

View File

@ -1,5 +1,5 @@
#!/bin/sh
. ./translation.vars
. ./etc/translation.vars
if [ ! -e $POTDIR ]; then
mkdir $POTDIR

View File

@ -1,5 +1,5 @@
#!/bin/sh
. ./translation.vars
. ./etc/translation.vars
if [ $# -ge 1 ]
then

View File

@ -1,6 +1,6 @@
#!/bin/sh
set -e
. ./project.vars
. ./etc/project.vars
if [ ! $venv ]; then
echo "ERROR: virtualenv not found!" >&2
@ -10,7 +10,7 @@ else
fi
. $venv_dir/bin/activate
pip install -r reqs.txt
pip install -r etc/reqs.txt
# Apply multi-domain patch to Flask-Babel
patch -p0 <multi-domain.patch
patch -p0 <etc/multi-domain.patch
fi

View File

@ -1,5 +1,5 @@
#!/bin/sh
. ./translation.vars
. ./etc/translation.vars
if [ $# -ge 1 ]
then