df2daf524d
Signed-off-by: Nico Schottelius <nico@manager.schottelius.org>
21 lines
426 B
Text
Executable file
21 lines
426 B
Text
Executable file
DB=/home/user/nico/DB/wddb/
|
|
HTMLDB=/home/user/nico/DB/wddb-html/
|
|
|
|
|
|
DATA_1=`echo $1 | sed 's/\.\.\///g'`
|
|
echo $DATA_1
|
|
|
|
CONTINENT=`echo $DATA_1 | awk -F"/" '{ print $1 }'`
|
|
#CONTINENT=`echo $DATA_1 | sed 's/^\(.*\)\/.*/\1/g'`
|
|
echo $CONTINENT
|
|
|
|
DATADIR=`echo $DATA_1 | sed 's/\(.*\)\/\(.*\)/\1/g'`
|
|
HTML=`echo $DATA_1 | sed 's/\(.*\)\/\(.*\)/\2/g'`
|
|
echo $DATADIR
|
|
echo $HTML
|
|
|
|
if [ ! -d $DB/$CONTINENT ]; then
|
|
show_error
|
|
fi
|
|
|
|
grep
|