Project

General

Profile

« Previous | Next » 

Revision 9848

schemas/VegCore/mk_derived: use new lib/sh/local.sh instead of lib/import.sh (a precursor to util.sh, etc. still used by inputs/FIA/)

View differences:

schemas/VegCore/mk_derived
1
#!/bin/bash
1
#!/bin/bash -e
2 2
# :mode=transact-sql:
3
cd "$(dirname "$0")"
4
. ../../lib/import.sh
3
. "$(dirname "${BASH_SOURCE[0]}")"/../../lib/sh/local.sh
5 4

  
6 5
psql <<'EOF'
6
SELECT util.search_path_append('util');
7

  
7 8
SELECT try_mk_derived_col((:table_str, 'cultivated'), $$NOT "oldGrowth"$$);

Also available in: Unified diff