From fd6e5a5e3ea7bef52341ecbf68bb3e5cdc363ec3 Mon Sep 17 00:00:00 2001 From: Simon Norris Date: Thu, 9 Nov 2023 12:55:52 -0800 Subject: [PATCH] ensure correct db is referenced --- model/02_habitat_linear/habitat_linear.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/02_habitat_linear/habitat_linear.sh b/model/02_habitat_linear/habitat_linear.sh index cfdeeb8d..2e011dae 100755 --- a/model/02_habitat_linear/habitat_linear.sh +++ b/model/02_habitat_linear/habitat_linear.sh @@ -16,7 +16,7 @@ done # horsefly sockeye have their own model due to trans-watershed group spawning/rearing effects # (this is highly likely to be present elsewhere but has not been investigated) -psql -f sql/horsefly_sk.sql +$PSQL -f sql/horsefly_sk.sql # translate user habitat classifcation referencing from measures to stream segment ids $PSQL -f sql/user_habitat_classification.sql