summaryrefslogtreecommitdiff
path: root/sys-kernel/libre-sources
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/libre-sources')
-rw-r--r--sys-kernel/libre-sources/libre-sources-2.6.30.ebuild14
1 files changed, 1 insertions, 13 deletions
diff --git a/sys-kernel/libre-sources/libre-sources-2.6.30.ebuild b/sys-kernel/libre-sources/libre-sources-2.6.30.ebuild
index 846c20d..011d101 100644
--- a/sys-kernel/libre-sources/libre-sources-2.6.30.ebuild
+++ b/sys-kernel/libre-sources/libre-sources-2.6.30.ebuild
@@ -14,19 +14,7 @@ src_unpack() {
UNIPATCH_LIST_DEFAULT=""
# universal_unpack expects a different kernel tarball name
- expected_tarball=${WORKDIR}/linux-${OKV}.tar.bz2
-
- # temporarily move any preexisting kernel tarball
- [[ -f $expected_tarball ]] && \
- mv $expected_tarball ${expected_tarball}-original
-
- ln -sf ${WORKDIR}/linux-${KV_FULL}.tar.bz2 $expected_tarball
+ ln -sf ${WORKDIR}/linux-${KV_FULL}.tar.bz2 ${WORKDIR}/linux-${OKV}.tar.bz2
kernel-2_src_unpack
-
- rm $expected_tarball
-
- # put any preexisting tarball back in its original location
- [[ -f ${expected_tarball}-original ]] && \
- mv ${expected_tarball}-original $expected_tarball
}