Make functional stub function copy_to_public_dir
This commit is contained in:
parent
d45ca0de96
commit
2ce1280cc0
@ -164,5 +164,14 @@ function make_hpr_sqlite_db {
|
|||||||
# PARAMETERS:
|
# PARAMETERS:
|
||||||
# RETURNS:
|
# RETURNS:
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
function copy_to_public_dir { echo; }
|
function copy_to_public_dir {
|
||||||
|
|
||||||
|
if [ $# -gt 1 ] && [ ! -z "$1" ] && [ ! -z "$2" ];
|
||||||
|
then
|
||||||
|
cp $1/hpr.sql $2/hpr.sql
|
||||||
|
cp $1/hpr.db $2/hpr.db
|
||||||
|
return 0
|
||||||
|
else
|
||||||
|
echo "Bad arguments. Can't copy files to public directory."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user