aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-05-07 15:04:22 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2024-05-07 15:04:22 +0200
commit2c10a3a40ab8333c066351c8fbf545425d555367 (patch)
treef44957edd2c5a992f6f84b8f182debe43fdfa89c
parentbb348181ecba31a35423a25d8e7058f43e8ced66 (diff)
Update odb.sh to match switch to libbutl-odb
-rwxr-xr-xbdep/odb.sh11
1 files changed, 4 insertions, 7 deletions
diff --git a/bdep/odb.sh b/bdep/odb.sh
index 0f71977..35be812 100755
--- a/bdep/odb.sh
+++ b/bdep/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)