summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2013-06-25 20:54:48 +0000
committerMichael Weber <xmw@gentoo.org>2013-06-25 20:54:48 +0000
commit028c7969f97660831f7a764e548d3dba70eb5afc (patch)
tree7c524e659e58b6fe3bc53dddbd1a349d080249dc /app-backup
parentTake a snapshot of the 1.2.0 tag upstream. Name it _pre in case upstream rele... (diff)
downloadgentoo-2-028c7969f97660831f7a764e548d3dba70eb5afc.tar.gz
gentoo-2-028c7969f97660831f7a764e548d3dba70eb5afc.tar.bz2
gentoo-2-028c7969f97660831f7a764e548d3dba70eb5afc.zip
Fix LINGUAS handling (bug 474732, thanks Frank Ridderbusch)
(Portage version: 2.2.0_alpha184/cvs/Linux x86_64, signed Manifest commit with key 62EEF090)
Diffstat (limited to 'app-backup')
-rw-r--r--app-backup/backintime/ChangeLog5
-rw-r--r--app-backup/backintime/backintime-1.0.24.ebuild13
2 files changed, 9 insertions, 9 deletions
diff --git a/app-backup/backintime/ChangeLog b/app-backup/backintime/ChangeLog
index 6b2bb619440b..d2de340c2223 100644
--- a/app-backup/backintime/ChangeLog
+++ b/app-backup/backintime/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-backup/backintime
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-backup/backintime/ChangeLog,v 1.16 2013/06/23 21:13:25 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-backup/backintime/ChangeLog,v 1.17 2013/06/25 20:54:48 xmw Exp $
+
+ 25 Jun 2013; Michael Weber <xmw@gentoo.org> backintime-1.0.24.ebuild:
+ Fix LINGUAS handling (bug 474732, thanks Frank Ridderbusch)
*backintime-1.0.24 (23 Jun 2013)
diff --git a/app-backup/backintime/backintime-1.0.24.ebuild b/app-backup/backintime/backintime-1.0.24.ebuild
index a07d694bba53..74f36aa0d251 100644
--- a/app-backup/backintime/backintime-1.0.24.ebuild
+++ b/app-backup/backintime/backintime-1.0.24.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-backup/backintime/backintime-1.0.24.ebuild,v 1.1 2013/06/23 21:13:25 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-backup/backintime/backintime-1.0.24.ebuild,v 1.2 2013/06/25 20:54:48 xmw Exp $
EAPI=5
@@ -63,22 +63,19 @@ src_prepare() {
local variant
for variant in ${backintime_variants} ; do
einfo "$variant: run \"$@\""
- cd "${S}"/${variant}
+ pushd "${S}"/${variant} || die
"${@}" || die
+ popd
done
}
- backintime_linguas() {
- cd po
+ if [ -n ${LINGUAS+x} ] ; then
+ cd common/po || die
for po in *.po ; do
if ! has ${po/.po} ${LINGUAS} ; then
rm ${po} || die
fi
done
- }
-
- if [ -n ${LINGUAS+x} ] ; then
- backintime_run backintime_linguas
fi
}