diff --git a/bin/README.md b/bin/README.md deleted file mode 100644 index 6e63e3452..000000000 --- a/bin/README.md +++ /dev/null @@ -1 +0,0 @@ -# Open-IM-Server/bin diff --git a/logs/README.md b/logs/README.md deleted file mode 100644 index 8e4695c5a..000000000 --- a/logs/README.md +++ /dev/null @@ -1 +0,0 @@ -# Open-IM-Server/logs diff --git a/script/build_all_service.sh b/script/build_all_service.sh index 0bceb115e..3245a72f9 100644 --- a/script/build_all_service.sh +++ b/script/build_all_service.sh @@ -4,6 +4,16 @@ source ./style_info.cfg source ./path_info.cfg source ./function.sh +bin_dir="../bin" +logs_dir="../logs" +#Automatically created when there is no bin, logs folder +if [ ! -d $bin_dir ]; then + mkdir -p $bin_dir +fi +if [ ! -d $logs_dir ]; then + mkdir -p $logs_dir +fi + #begin path begin_path=$PWD