Package: debci
Version: 2.0
Severity: normal
Tags: buster debci

Currently default basedir for debci is /usr/share/debci. But environment.sh doesn't handle that path by default and reports 'E: no \$debci_base_dir not set!'.

Shouldn't we use the following code instead of the current one relative to current path (used in test environment) ?

if [ -z "${debci_base_dir:-}" ]; then
          if [ -f /usr/share/debci/lib/environment.sh ]; then
                      debci_base_dir="/usr/share/debci/"
          else
                      echo "E: no \$debci_base_dir not set!"
                      return 1
           fi
fi

Reply via email to