aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-05-07 15:03:40 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2024-05-07 15:03:40 +0200
commitdcb8512ff90f75da37227e4d9bcc7c058a3b9ca6 (patch)
treeddefce436cbba441f0928456f32a5e0eda31fca9
parent52bfe0a878feada90bb599a0adbcb4f8ba207c43 (diff)
Update odb.sh to match switch to libbutl-odb
-rwxr-xr-xbpkg/odb.sh11
1 files changed, 4 insertions, 7 deletions
diff --git a/bpkg/odb.sh b/bpkg/odb.sh
index 75c6d2d..1387773 100755
--- a/bpkg/odb.sh
+++ b/bpkg/odb.sh
@@ -16,8 +16,9 @@ if test -d ../.bdep; then
sed -r -ne 's#^(@[^ ]+ )?([^ ]+)/ .*default.*$#\2#p')"
fi
- inc+=("-I$(echo "$cfg"/libodb-[1-9]*/)")
- inc+=("-I$(echo "$cfg"/libodb-sqlite-[1-9]*/)")
+ # Note: there is nothing generated in libbutl-odb.
+ #
+ inc+=("-I../../libbutl/libbutl-odb")
inc+=("-I$cfg/libbutl")
inc+=("-I../../libbutl")
@@ -30,11 +31,7 @@ sed -r -ne 's#^(@[^ ]+ )?([^ ]+)/ .*default.*$#\2#p')"
else
- inc+=("-I$HOME/work/odb/builds/default/libodb-sqlite-default")
- inc+=("-I$HOME/work/odb/libodb-sqlite")
-
- inc+=("-I$HOME/work/odb/builds/default/libodb-default")
- inc+=("-I$HOME/work/odb/libodb")
+ inc+=("-I../../libbutl/libbutl-odb")
inc+=(-I.. -I../../libbpkg -I../../libbutl)