diff options
Diffstat (limited to 'libbrep/odb.sh')
-rwxr-xr-x | libbrep/odb.sh | 7 |
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") |