From f31b15afda8ac202f191ae122fa7f2f5eaf5f1ad Mon Sep 17 00:00:00 2001 From: theswgsource Date: Fri, 4 May 2018 13:44:44 -0700 Subject: [PATCH] added # to line 91 to denote as comment not command during tab compiling --- build_dsrc.sh | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/build_dsrc.sh b/build_dsrc.sh index 915ee6e..f3a2742 100755 --- a/build_dsrc.sh +++ b/build_dsrc.sh @@ -77,18 +77,18 @@ if [[ $response =~ ^(yes|y| ) ]]; then #prepare environment to run data file builders oldPATH=$PATH PATH=$basedir/build/bin:$PATH - + $basedir/utils/build_miff.sh - + buildTemplates=true - + PATH=$oldPATH fi read -p "Do you want to build the datatables (.tab)? (y/n) " response response=${response,,} if [[ $response =~ ^(yes|y| ) ]]; then - prepare environment to run data file builders + #prepare environment to run data file builders oldPATH=$PATH PATH=$basedir/build/bin:$PATH @@ -99,9 +99,9 @@ if [[ $response =~ ^(yes|y| ) ]]; then else $basedir/utils/build_tab.sh fi - + buildTemplates=true - + PATH=$oldPATH fi @@ -119,16 +119,16 @@ if [[ $response =~ ^(yes|y| ) ]]; then else $basedir/utils/build_tpf.sh fi - + buildTemplates=true - + PATH=$oldPATH fi if [[ $buildTemplates = false ]]; then read -p "Do you want to build the Object Template or Quest CRC files? (y/n) " response response=${response,,} - if [[ $response =~ ^(yes|y| ) ]]; then + if [[ $response =~ ^(yes|y| ) ]]; then buildTemplates=true fi fi @@ -152,27 +152,27 @@ if [[ $buildTemplates = true ]]; then echo "Enter the database password " read DBPASSWORD fi - + #prepare environment to run data file builders oldPATH=$PATH PATH=$basedir/build/bin:$PATH - + $basedir/utils/build_object_template_crc_string_tables.py $basedir/utils/build_quest_crc_string_tables.py - + cd $basedir/src/game/server/database - + echo "Loading template list" - + perl ./templates/processTemplateList.pl < $basedir/dsrc/sku.0/sys.server/built/game/misc/object_template_crc_string_table.tab > $basedir/build/templates.sql sqlplus ${DBUSERNAME}/${DBPASSWORD}@${DBSERVICE} @$basedir/build/templates.sql > $basedir/build/templates.out - + templatesLoaded=true - + cd $basedir PATH=$oldPATH fi echo -e "\033[2;36m"; echo -e "\033[1;31m****************************************************************** END of individual building of scripts for /dsrc to /data -******************************************************************" \ No newline at end of file +******************************************************************"