(HENGSIN-10) Problems with RUN_ImportAdempiere.sh
- Incorporate the improvement suggested by Carlos.
This commit is contained in:
parent
b561dde609
commit
fff87cc023
|
@ -36,7 +36,7 @@ ADEMPIERE_CREATE_ROLE_SQL=
|
||||||
|
|
||||||
PGPASSWORD=$3
|
PGPASSWORD=$3
|
||||||
export PGPASSWORD
|
export PGPASSWORD
|
||||||
createdb -h $ADEMPIERE_DB_SERVER -p $ADEMPIERE_DB_PORT -E UNICODE -O $2 -U $2 $ADEMPIERE_DB_NAME
|
createdb --template=template0 -h $ADEMPIERE_DB_SERVER -p $ADEMPIERE_DB_PORT -E UNICODE -O $2 -U $2 $ADEMPIERE_DB_NAME
|
||||||
|
|
||||||
echo -------------------------------------
|
echo -------------------------------------
|
||||||
echo Import Adempiere_pg.dmp
|
echo Import Adempiere_pg.dmp
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
@set ADEMPIERE_CREATE_ROLE_SQL=
|
@set ADEMPIERE_CREATE_ROLE_SQL=
|
||||||
|
|
||||||
@set PGPASSWORD=%3
|
@set PGPASSWORD=%3
|
||||||
@createdb -h %ADEMPIERE_DB_SERVER% -p %ADEMPIERE_DB_PORT% -E UNICODE -O %2 -U %2 %ADEMPIERE_DB_NAME%
|
@createdb --template=template0 -h %ADEMPIERE_DB_SERVER% -p %ADEMPIERE_DB_PORT% -E UNICODE -O %2 -U %2 %ADEMPIERE_DB_NAME%
|
||||||
|
|
||||||
@echo -------------------------------------
|
@echo -------------------------------------
|
||||||
@echo Import Adempiere_pg.dmp
|
@echo Import Adempiere_pg.dmp
|
||||||
|
|
Loading…
Reference in New Issue