projects
/
platform
/
framework
/
web
/
download-provider.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Convert relative path to absolute path
[platform/framework/web/download-provider.git]
/
dump-download-provider.sh.in
1
#!/bin/sh
2
PATH=/bin:/usr/bin:/sbin:/usr/sbin
3
4
PKG_NAME=download-provider
5
6
DUMP_DIR=$1/$PKG_NAME
7
/bin/mkdir -p $DUMP_DIR
8
9
# Download DB
10
DB_DIR=@TZ_SYS_GLOBALUSER_DATA@/download-provider/database
11
if [ "$DB_DIR" ]
12
then
13
/bin/echo "copy download DB ..."
14
/bin/cp -rf ${DB_DIR}* $DUMP_DIR
15
fi