mirror of
https://github.com/haiwen/seahub.git
synced 2025-05-10 00:47:19 +00:00
fix typo in seahub scripts
This commit is contained in:
parent
ea580c6569
commit
c0e252d53b
@ -45,7 +45,7 @@ function validate_seafile_data_dir () {
|
||||
|
||||
function prepare_seahub_log_dir() {
|
||||
logdir=${TOPDIR}/logs
|
||||
if ! [[ -d ${logsdir} ]]; then
|
||||
if ! [[ -d ${logdir} ]]; then
|
||||
if ! mkdir -p "${logdir}"; then
|
||||
echo "ERROR: failed to create logs dir \"${logdir}\""
|
||||
exit 1
|
||||
|
@ -48,7 +48,7 @@ function check_python_executable() {
|
||||
|
||||
function prepare_log_dir() {
|
||||
logdir=${TOPDIR}/logs
|
||||
if ! [[ -d ${logsdir} ]]; then
|
||||
if ! [[ -d ${logdir} ]]; then
|
||||
if ! mkdir -p "${logdir}"; then
|
||||
echo "ERROR: failed to create logs dir \"${logdir}\""
|
||||
exit 1
|
||||
|
@ -46,7 +46,7 @@ function check_python_executable() {
|
||||
|
||||
function prepare_log_dir() {
|
||||
logdir=${TOPDIR}/logs
|
||||
if ! [[ -d ${logsdir} ]]; then
|
||||
if ! [[ -d ${logdir} ]]; then
|
||||
if ! mkdir -p "${logdir}"; then
|
||||
echo "ERROR: failed to create logs dir \"${logdir}\""
|
||||
exit 1
|
||||
|
@ -87,7 +87,7 @@ function warning_if_seafile_not_running () {
|
||||
}
|
||||
|
||||
function prepare_log_dir() {
|
||||
if ! [[ -d ${logsdir} ]]; then
|
||||
if ! [[ -d ${logdir} ]]; then
|
||||
if ! mkdir -p "${logdir}"; then
|
||||
echo "ERROR: failed to create logs dir \"${logdir}\""
|
||||
exit 1
|
||||
|
@ -134,7 +134,7 @@ function warning_if_seafile_not_running () {
|
||||
|
||||
function prepare_seahub_log_dir() {
|
||||
logdir=${TOPDIR}/logs
|
||||
if ! [[ -d ${logsdir} ]]; then
|
||||
if ! [[ -d ${logdir} ]]; then
|
||||
if ! mkdir -p "${logdir}"; then
|
||||
echo "ERROR: failed to create logs dir \"${logdir}\""
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user