diff options
author | 2006-05-26 02:34:54 -0700 | |
---|---|---|
committer | 2006-05-26 02:34:54 -0700 | |
commit | d8507da173cb5ca4cec8965006ec8fc550159821 (patch) | |
tree | 995bd8de0bebc516ebb634ae438d084a96ded643 /bin | |
parent | merde... missed this commit. adjust the meta-definitions as needed for recen... (diff) | |
download | pkgcore-d8507da173cb5ca4cec8965006ec8fc550159821.tar.gz pkgcore-d8507da173cb5ca4cec8965006ec8fc550159821.tar.bz2 pkgcore-d8507da173cb5ca4cec8965006ec8fc550159821.zip |
for unpack explicit "size is zero" when a distfiles... size is zero (dar)
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ebuild-env/ebuild-default-functions.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/ebuild-env/ebuild-default-functions.sh b/bin/ebuild-env/ebuild-default-functions.sh index 96d376e0f..5311c9f8c 100755 --- a/bin/ebuild-env/ebuild-default-functions.sh +++ b/bin/ebuild-env/ebuild-default-functions.sh @@ -82,7 +82,6 @@ addpredict() unpack() { local x y myfail tarvars srcdir - if [ "$USERLAND" == "BSD" ]; then tarvars="" else @@ -102,7 +101,7 @@ unpack() srcdir="${DISTDIR}" fi - [ ! -s "${srcdir}/${x}" ] && die "$myfail" + [ ! -s "${srcdir}/${x}" ] && die "$myfail: empty file" case "${x##*.}" in tar) |