feat: build for 3rd party
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
GitRootDir=${HOME}/wfc.git
|
||||
GitRootDir=$(dirname $(dirname $(dirname $(realpath $0))))
|
||||
BERootDir=${GitRootDir}/be.wfc
|
||||
FERootDir=${GitRootDir}/fe.wfc
|
||||
FEUserRootDir=${GitRootDir}/fe.wfc.user
|
||||
@@ -16,6 +16,10 @@ usage() {
|
||||
exit 1
|
||||
}
|
||||
|
||||
if [ $# -ne 1 ]; then
|
||||
GitRootDir=$1
|
||||
fi
|
||||
|
||||
# copy sql
|
||||
echo -n "Begin copy sql ... "
|
||||
cp ${BERootDir}/sql/wfc_config_db/wfc_config_db.sql ${BuildDockerDir}/mysql/db
|
||||
|
||||
Reference in New Issue
Block a user