projects
/
brisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2874525
)
shift added to remove 'psql' params passed to psql command
author
Matteo Nastasi
<nastasi@alternativeoutput.it>
Sun, 22 May 2011 15:50:38 +0000
(17:50 +0200)
committer
Matteo Nastasi
<nastasi@alternativeoutput.it>
Sun, 22 May 2011 15:50:38 +0000
(17:50 +0200)
sql/builder.sh
patch
|
blob
|
history
diff --git
a/sql/builder.sh
b/sql/builder.sh
index
221bd87
..
7e021db
100755
(executable)
--- a/
sql/builder.sh
+++ b/
sql/builder.sh
@@
-65,8
+65,10
@@
elif [ "$1" = "rebuild" ]; then
echo "-- MESG: build start" ; one_or_all $2 | grep -iv '^drop' ; echo "-- MESG: build end" ; ) \
| sqlexe $sht
elif [ "$1" = "psql" ]; then
+ shift
psql -h $DBHOST -U $DBUSER $DBBASE $@
elif [ "$1" = "piped" ]; then
+ shift
psql -h $DBHOST -U $DBUSER $DBBASE -t -q -A -F '|' $@
elif [ "$1" = "dump" ]; then
if [ $# -eq 1 ]; then