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 #!/bin/sh
. ./translation.vars . ./etc/translation.vars
if [ $# -ge 1 ] if [ $# -ge 1 ]
then then

View File

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

View File

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

View File

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

View File

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

View File

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