Moved setup, translation config files into subdir
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
. ./translation.vars
|
. ./etc/translation.vars
|
||||||
|
|
||||||
if [ $# -ge 1 ]
|
if [ $# -ge 1 ]
|
||||||
then
|
then
|
||||||
|
@@ -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
|
@@ -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
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
. ./translation.vars
|
. ./etc/translation.vars
|
||||||
|
|
||||||
if [ $# -ge 1 ]
|
if [ $# -ge 1 ]
|
||||||
then
|
then
|
||||||
|
@@ -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
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
. ./translation.vars
|
. ./etc/translation.vars
|
||||||
|
|
||||||
if [ $# -ge 1 ]
|
if [ $# -ge 1 ]
|
||||||
then
|
then
|
||||||
|
Reference in New Issue
Block a user