aboutsummaryrefslogtreecommitdiff
path: root/libbrep/odb.sh
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-05-07 15:04:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2024-05-07 15:04:43 +0200
commit975b17ecce7cfa60d622a0aca9a8e8a1e1eb5af2 (patch)
treef410718f9b280a9db96c60b66f9f8395323d9482 /libbrep/odb.sh
parent19e3c423819a59276036f743bd5febd89659129b (diff)
Update odb.sh to match switch to libbutl-odb
Diffstat (limited to 'libbrep/odb.sh')
-rwxr-xr-xlibbrep/odb.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/libbrep/odb.sh b/libbrep/odb.sh
index 608ca41..89dc5be 100755
--- a/libbrep/odb.sh
+++ b/libbrep/odb.sh
@@ -16,6 +16,8 @@ if test -d ../.bdep; then
sed -r -ne 's#^(@[^ ]+ )?([^ ]+)/ .*default.*$#\2#p')"
fi
+ # Note: here we use libodb*, not libbutl-odb.
+ #
inc+=("-I$(echo "$cfg"/libodb-[1-9]*/)")
inc+=("-I$(echo "$cfg"/libodb-pgsql-[1-9]*/)")
@@ -33,6 +35,11 @@ sed -r -ne 's#^(@[^ ]+ )?([^ ]+)/ .*default.*$#\2#p')"
else
+ # Feels like this case should not be necessary (unlike in bpkg/bdep).
+ #
+ echo "not bdep-initialized" 1>&2
+ exit 1
+
inc+=("-I$HOME/work/odb/builds/default/libodb-pgsql-default")
inc+=("-I$HOME/work/odb/libodb-pgsql")