aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-05-08 23:02:24 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-05-08 23:02:24 +0300
commitc4798955364d3a5e4074e56a0038148837c75d82 (patch)
tree94f90763ce9cf72507cd4cb91064622e12ab3175
parent975b17ecce7cfa60d622a0aca9a8e8a1e1eb5af2 (diff)
Re-enable support for not bdep-initialized builds in odb.sh
-rwxr-xr-xlibbrep/odb.sh12
1 files changed, 2 insertions, 10 deletions
diff --git a/libbrep/odb.sh b/libbrep/odb.sh
index 89dc5be..7c62acb 100755
--- a/libbrep/odb.sh
+++ b/libbrep/odb.sh
@@ -35,16 +35,8 @@ 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")
-
- inc+=("-I$HOME/work/odb/builds/default/libodb-default")
- inc+=("-I$HOME/work/odb/libodb")
+ inc+=("-I$HOME/work/odb/odb/libodb-pgsql")
+ inc+=("-I$HOME/work/odb/odb/libodb")
inc+=(-I.. -I../../libbbot -I../../libbpkg -I../../libbutl)