Compare commits
2 Commits
9e151dfe1e
...
f484cd53db
| Author | SHA1 | Date |
|---|---|---|
|
|
f484cd53db | 4 years ago |
|
|
14a678f54a | 4 years ago |
4 changed files with 16 additions and 11 deletions
@ -1,3 +1,9 @@ |
|||
#!/bin/bash |
|||
|
|||
if [[ ! -f $1 ]]; then |
|||
>&2 echo "Error: could not find file \"$1\"" |
|||
exit 2 |
|||
fi |
|||
|
|||
db-make |
|||
psql -U $DBUSER -d $DBNAME -f $1 |
|||
|
|||
Loading…
Reference in new issue