Code Review
/
holmes
/
engine-management.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Fixed some errors in shell scripts
[holmes/engine-management.git]
/
engine-d-standalone
/
src
/
main
/
assembly
/
bin
/
initDB.sh
diff --git
a/engine-d-standalone/src/main/assembly/bin/initDB.sh
b/engine-d-standalone/src/main/assembly/bin/initDB.sh
index
3d2e8bc
..
cc27b09
100644
(file)
--- a/
engine-d-standalone/src/main/assembly/bin/initDB.sh
+++ b/
engine-d-standalone/src/main/assembly/bin/initDB.sh
@@
-51,7
+51,7
@@
psql -U "$user" -p "$port" -h "$host" -d "$dbname" -f $main_path/dbscripts/postg
psql -U "$user" -p "$port" -h "$host" -d "$dbname" --command 'select * from alarm_info;'
sql_result=$?
-if [ $need_unset
-eq
1 ]; then
+if [ $need_unset
=
1 ]; then
unset PGPASSWORD
fi