Cygwin is kind of allergic to them, as on windows two starting slashes
typically mean somethinglike network share/access. Bug #334271
fi
# does the shebang start with ${EPREFIX}, and does it exist?
if [[ ${line[0]} == ${EPREFIX}/* ]] ; then
- if [[ ! -e ${ROOT}${line[0]} && ! -e ${D}${line[0]} ]] ; then
+ if [[ ! -e ${ROOT%/}${line[0]} && ! -e ${D%/}${line[0]} ]] ; then
# hmm, refers explicitly to $EPREFIX, but doesn't exist,
# if it's in PATH that's wrong in any case
if [[ ":${PATH}:" == *":${fp}:"* ]] ; then