summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2011-01-03 19:58:35 +0000
committerJeroen Roovers <jer@gentoo.org>2011-01-03 19:58:35 +0000
commitbee2e367b1892b23bc05f0c3848c5224d67fcf32 (patch)
treedf39f3213deacfcc604be336abafe829debea681 /www-client
parentVersion bump to 1.2.7 bug #350464 (diff)
downloadgentoo-2-bee2e367b1892b23bc05f0c3848c5224d67fcf32.tar.gz
gentoo-2-bee2e367b1892b23bc05f0c3848c5224d67fcf32.tar.bz2
gentoo-2-bee2e367b1892b23bc05f0c3848c5224d67fcf32.zip
Use mv * ${S} instead of setting S inside an ebuild phase.
(Portage version: 2.2.0_alpha12/cvs/Linux i686)
Diffstat (limited to 'www-client')
-rw-r--r--www-client/opera/ChangeLog7
-rw-r--r--www-client/opera/opera-11.00.1156.ebuild10
2 files changed, 8 insertions, 9 deletions
diff --git a/www-client/opera/ChangeLog b/www-client/opera/ChangeLog
index 75cccde75c68..d6e061d472e7 100644
--- a/www-client/opera/ChangeLog
+++ b/www-client/opera/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for www-client/opera
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.581 2010/12/22 16:14:34 jer Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/ChangeLog,v 1.582 2011/01/03 19:58:35 jer Exp $
+
+ 03 Jan 2011; Jeroen Roovers <jer@gentoo.org> opera-11.00.1156.ebuild:
+ Use mv * ${S} instead of setting S inside an ebuild phase.
22 Dec 2010; Jeroen Roovers <jer@gentoo.org> opera-11.00.1156.ebuild:
Update icon cache and desktop file database by Rick Harris (bug #334993).
diff --git a/www-client/opera/opera-11.00.1156.ebuild b/www-client/opera/opera-11.00.1156.ebuild
index c9eff5d7145e..04378c636847 100644
--- a/www-client/opera/opera-11.00.1156.ebuild
+++ b/www-client/opera/opera-11.00.1156.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-11.00.1156.ebuild,v 1.3 2010/12/22 16:14:34 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/opera/opera-11.00.1156.ebuild,v 1.4 2011/01/03 19:58:35 jer Exp $
EAPI="3"
@@ -98,11 +98,7 @@ pkg_setup() {
src_unpack() {
unpack ${A}
- if [[ ! -d ${S} ]]; then
- cd "${WORKDIR}"/${PN}* || die "failed to enter work directory"
- S="$(pwd)"
- einfo "Setting WORKDIR to ${S}"
- fi
+ mv -v * "${S}"
}
src_prepare() {