Skip to content

Commit

Permalink
use USERNAME env
Browse files Browse the repository at this point in the history
  • Loading branch information
avouacr committed Feb 28, 2024
1 parent a816ad0 commit 84a2399
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions scripts/install-duckdb-extensions.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
#!/bin/bash
set -e

duckdb -c << EOF
SET extension_directory=\"${HOME}/.duckdb/extensions\";
INSTALL httpfs;
INSTALL aws;
INSTALL postgres;
INSTALL spatial;
EOF
duckdb -c "SET extension_directory='/home/${USERNAME}/.duckdb/extensions'; \
INSTALL httpfs; \
INSTALL aws; \
INSTALL postgres; \
INSTALL spatial; \
"

0 comments on commit 84a2399

Please sign in to comment.