Fix bug.
This commit is contained in:
parent
ef08ea036b
commit
56147289d5
|
@ -106,9 +106,9 @@ else
|
||||||
local_store_path="$HOME/orbit_sites/$new_site_name"
|
local_store_path="$HOME/orbit_sites/$new_site_name"
|
||||||
mkdir -p "$local_store_path"
|
mkdir -p "$local_store_path"
|
||||||
if [[ -z "$use_local_command" ]]; then
|
if [[ -z "$use_local_command" ]]; then
|
||||||
$scp_command$root_path/* $local_store_path/.
|
$scp_command$root_path/{*,.[^.]*} $local_store_path/. 2>>/dev/null
|
||||||
else
|
else
|
||||||
$scp_command$root_path/* $local_store_path/.
|
$scp_command$root_path/{*,.[^.]*} $local_store_path/. 2>>/dev/null
|
||||||
fi
|
fi
|
||||||
cd $local_store_path
|
cd $local_store_path
|
||||||
new_nginx_file="/etc/nginx/orbit_sites/$new_site_name"
|
new_nginx_file="/etc/nginx/orbit_sites/$new_site_name"
|
||||||
|
|
|
@ -112,9 +112,9 @@ else
|
||||||
local_store_path="$HOME/orbit_sites/$new_site_name"
|
local_store_path="$HOME/orbit_sites/$new_site_name"
|
||||||
mkdir -p "$local_store_path"
|
mkdir -p "$local_store_path"
|
||||||
if [[ -z "$use_local_command" ]]; then
|
if [[ -z "$use_local_command" ]]; then
|
||||||
$scp_command$root_path/* $local_store_path/.
|
$scp_command$root_path/{*,.[^.]*} $local_store_path/. 2>>/dev/null
|
||||||
else
|
else
|
||||||
$scp_command$root_path/* $local_store_path/.
|
$scp_command$root_path/{*,.[^.]*} $local_store_path/. 2>>/dev/null
|
||||||
fi
|
fi
|
||||||
cd $local_store_path
|
cd $local_store_path
|
||||||
new_nginx_file="/etc/nginx/orbit_sites/$new_site_name"
|
new_nginx_file="/etc/nginx/orbit_sites/$new_site_name"
|
||||||
|
|
Loading…
Reference in New Issue