mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-16 06:03:35 +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() {
|
function prepare_seahub_log_dir() {
|
||||||
logdir=${TOPDIR}/logs
|
logdir=${TOPDIR}/logs
|
||||||
if ! [[ -d ${logsdir} ]]; then
|
if ! [[ -d ${logdir} ]]; then
|
||||||
if ! mkdir -p "${logdir}"; then
|
if ! mkdir -p "${logdir}"; then
|
||||||
echo "ERROR: failed to create logs dir \"${logdir}\""
|
echo "ERROR: failed to create logs dir \"${logdir}\""
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -48,7 +48,7 @@ function check_python_executable() {
|
|||||||
|
|
||||||
function prepare_log_dir() {
|
function prepare_log_dir() {
|
||||||
logdir=${TOPDIR}/logs
|
logdir=${TOPDIR}/logs
|
||||||
if ! [[ -d ${logsdir} ]]; then
|
if ! [[ -d ${logdir} ]]; then
|
||||||
if ! mkdir -p "${logdir}"; then
|
if ! mkdir -p "${logdir}"; then
|
||||||
echo "ERROR: failed to create logs dir \"${logdir}\""
|
echo "ERROR: failed to create logs dir \"${logdir}\""
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -46,7 +46,7 @@ function check_python_executable() {
|
|||||||
|
|
||||||
function prepare_log_dir() {
|
function prepare_log_dir() {
|
||||||
logdir=${TOPDIR}/logs
|
logdir=${TOPDIR}/logs
|
||||||
if ! [[ -d ${logsdir} ]]; then
|
if ! [[ -d ${logdir} ]]; then
|
||||||
if ! mkdir -p "${logdir}"; then
|
if ! mkdir -p "${logdir}"; then
|
||||||
echo "ERROR: failed to create logs dir \"${logdir}\""
|
echo "ERROR: failed to create logs dir \"${logdir}\""
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -87,7 +87,7 @@ function warning_if_seafile_not_running () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function prepare_log_dir() {
|
function prepare_log_dir() {
|
||||||
if ! [[ -d ${logsdir} ]]; then
|
if ! [[ -d ${logdir} ]]; then
|
||||||
if ! mkdir -p "${logdir}"; then
|
if ! mkdir -p "${logdir}"; then
|
||||||
echo "ERROR: failed to create logs dir \"${logdir}\""
|
echo "ERROR: failed to create logs dir \"${logdir}\""
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -134,7 +134,7 @@ function warning_if_seafile_not_running () {
|
|||||||
|
|
||||||
function prepare_seahub_log_dir() {
|
function prepare_seahub_log_dir() {
|
||||||
logdir=${TOPDIR}/logs
|
logdir=${TOPDIR}/logs
|
||||||
if ! [[ -d ${logsdir} ]]; then
|
if ! [[ -d ${logdir} ]]; then
|
||||||
if ! mkdir -p "${logdir}"; then
|
if ! mkdir -p "${logdir}"; then
|
||||||
echo "ERROR: failed to create logs dir \"${logdir}\""
|
echo "ERROR: failed to create logs dir \"${logdir}\""
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user