mirror of
https://github.com/hermensbas/azerothcore_installer.git
synced 2026-01-26 22:06:22 +00:00
Update find_characters.sh
This commit is contained in:
@@ -1,6 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
ROOT_DIR="$(cd -P -- "$(dirname -- "$0")" && pwd -P)"
|
|
||||||
source ${ROOT_DIR}/../variables.sh
|
|
||||||
|
|
||||||
ACCOUNT_NAME=$1;
|
ACCOUNT_NAME=$1;
|
||||||
if [ -z "$ACCOUNT_NAME" ]
|
if [ -z "$ACCOUNT_NAME" ]
|
||||||
@@ -10,7 +8,7 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
sed -e "s/{{ACCOUNT_NAME}}/$ACCOUNT_NAME/g" \
|
sed -e "s/{{ACCOUNT_NAME}}/$ACCOUNT_NAME/g" \
|
||||||
"${ROOT_DIR}/../sql/find_character.sql" > "/tmp/find_character.sql"
|
"${ROOT_DIR}/sql/find_character.sql" > "/tmp/find_character.sql"
|
||||||
sudo mysql -u root --database="acore_characters" < /tmp/find_character.sql
|
sudo mysql -u root --database="acore_characters" < /tmp/find_character.sql
|
||||||
|
|
||||||
echo "Find character executed..."
|
echo "Find character executed..."
|
||||||
|
|||||||
Reference in New Issue
Block a user