diff options
-rwxr-xr-x | bin/ebuild.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index b3f34d6ea..5f7cd4316 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -365,7 +365,7 @@ unpack() { else srcdir="${DISTDIR}/" fi - [ "${x}" != "${x/${DISTDIR}}" ] && \ + [[ ${x} == ${DISTDIR}* ]] && \ die "Arguments to unpack() should not begin with \${DISTDIR}." [ ! -s "${srcdir}${x}" ] && die "$myfail" |