Retry read() when getting EAGAIN
[platform/framework/web/download-provider.git] / dump-download-provider.sh.in
old mode 100644 (file)
new mode 100755 (executable)
index d6a4bd3..5343fb2
@@ -1,4 +1,5 @@
 #!/bin/sh
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
 
 PKG_NAME=download-provider
 
@@ -6,7 +7,7 @@ DUMP_DIR=$1/$PKG_NAME
 /bin/mkdir -p $DUMP_DIR
 
 # Download DB
-DB_DIR=@TZ_SYS_DATA@/download-provider/database
+DB_DIR=@TZ_SYS_GLOBALUSER_DATA@/download-provider/database
 if [ "$DB_DIR" ]
 then
        /bin/echo "copy download DB ..."