projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37089ea
)
slightly easier test to read for DISTDR/unpack check
author
Mike Frysinger
<vapier@gentoo.org>
Tue, 9 May 2006 02:08:20 +0000
(
02:08
-0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Tue, 9 May 2006 02:08:20 +0000
(
02:08
-0000)
svn path=/main/trunk/; revision=3335
bin/ebuild.sh
patch
|
blob
|
history
diff --git
a/bin/ebuild.sh
b/bin/ebuild.sh
index b3f34d6ea0e8ca959d5751006a4ed57dd4f6e664..5f7cd431680ecab27f5da47debefaaab3c517a86 100755
(executable)
--- 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"