mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-04 22:07:52 +00:00
db_assembler: removed lowercase substitution not compatible with osx
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
unamestr=`uname`
|
unamestr=`uname`
|
||||||
if [[ "$unamestr" == 'Darwin' ]]; then
|
if [[ "$unamestr" == 'Darwin' ]]; then
|
||||||
SRCPATH=$(greadlink -f "../../")
|
SRCPATH=$(greadlink -f "../../")
|
||||||
@@ -27,19 +25,19 @@ fi
|
|||||||
|
|
||||||
function assemble() {
|
function assemble() {
|
||||||
# to lowercase
|
# to lowercase
|
||||||
database=${1,,}
|
database=$1
|
||||||
start_sql=$2
|
start_sql=$2
|
||||||
with_base=$3
|
with_base=$3
|
||||||
with_updates=$4
|
with_updates=$4
|
||||||
with_custom=$5
|
with_custom=$5
|
||||||
|
|
||||||
var_base="DB_"$1"_PATHS"
|
var_base="DB_"$database"_PATHS"
|
||||||
base=${!var_base}
|
base=${!var_base}
|
||||||
|
|
||||||
var_updates="DB_"$1"_UPDATE_PATHS"
|
var_updates="DB_"$database"_UPDATE_PATHS"
|
||||||
updates=${!var_updates}
|
updates=${!var_updates}
|
||||||
|
|
||||||
var_custom="DB_"$1"_CUSTOM_PATHS"
|
var_custom="DB_"$database"_CUSTOM_PATHS"
|
||||||
custom=${!var_custom}
|
custom=${!var_custom}
|
||||||
|
|
||||||
echo $updates
|
echo $updates
|
||||||
|
|||||||
Reference in New Issue
Block a user