Skip to content

Commit

Permalink
Merge pull request #4 from Natureshadow/patch-1
Browse files Browse the repository at this point in the history
Allow passing options to ./import
  • Loading branch information
mbanck-ntap authored Nov 21, 2024
2 parents e4018ee + 49f0417 commit 534ea07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions import
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

set -eux

createdb omdb
createdb "$@" omdb

psql -v ON_ERROR_STOP=1 -X omdb <<EOF
psql -v ON_ERROR_STOP=1 -X "$@" omdb <<EOF
SET ROLE postgres;
CREATE EXTENSION IF NOT EXISTS tsm_system_rows;
\i omdb.sql
Expand Down

0 comments on commit 534ea07

Please sign in to comment.