From 975b17ecce7cfa60d622a0aca9a8e8a1e1eb5af2 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 7 May 2024 15:04:43 +0200 Subject: Update odb.sh to match switch to libbutl-odb --- libbrep/odb.sh | 7 +++++++ 1 file changed, 7 insertions(+) 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") -- cgit v1.1