Code Review
/
holmes
/
rule-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/rule-management.git]
/
rulemgt-standalone
/
src
/
main
/
assembly
/
bin
/
initDB.sh
diff --git
a/rulemgt-standalone/src/main/assembly/bin/initDB.sh
b/rulemgt-standalone/src/main/assembly/bin/initDB.sh
index
436d48d
..
89f9264
100644
(file)
--- a/
rulemgt-standalone/src/main/assembly/bin/initDB.sh
+++ b/
rulemgt-standalone/src/main/assembly/bin/initDB.sh
@@
-49,7
+49,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 aplus_rule;'
sql_result=$?
-if [ $need_unset
-eq
1 ]; then
+if [ $need_unset
=
1 ]; then
unset PGPASSWORD
fi