Hi,
I have an ebuild containing
inherit git-r3
and
src_compile() {
./build_all.sh
}
The script build_all.sh contains
[ -d csources ] || git clone --depth 1
https://github.com/nim-lang/csources.git
When I try to build I get the strange error
fatal: unable to access 'https://github.com/nim-lang/csources.git/':
Could not resolve host: github.com
But when I exec
git clone --depth 1 https://github.com/nim-lang/csources.git
in an xterm (i.e. without using 'ebuild') it succeeds.
What's going on here?
Many thanks for a hint,
Helmut