aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/exndbam_repository_TEST_setup.sh
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2012-05-14 00:41:48 +0100
committerAvatar David Leverton <levertond@googlemail.com> 2012-05-14 00:41:48 +0100
commitbac000ad4304bd6045a5814b1bad384988b7a477 (patch)
treef013ff566085fdecdf0310c8c6c3b9c80b3d708b /paludis/repositories/e/exndbam_repository_TEST_setup.sh
parent471ede08c4eb2ac6dec49ce23c84aba28785ee87 (diff)
downloadpaludis-bac000ad4304bd6045a5814b1bad384988b7a477.tar.gz
paludis-bac000ad4304bd6045a5814b1bad384988b7a477.tar.xz
Use fixed EAPI assignment in the tests
Diffstat (limited to 'paludis/repositories/e/exndbam_repository_TEST_setup.sh')
-rwxr-xr-xpaludis/repositories/e/exndbam_repository_TEST_setup.sh11
1 files changed, 4 insertions, 7 deletions
diff --git a/paludis/repositories/e/exndbam_repository_TEST_setup.sh b/paludis/repositories/e/exndbam_repository_TEST_setup.sh
index 826404081..3f0244ea5 100755
--- a/paludis/repositories/e/exndbam_repository_TEST_setup.sh
+++ b/paludis/repositories/e/exndbam_repository_TEST_setup.sh
@@ -22,11 +22,7 @@ echo postinsttest >postinsttest_src1/profiles/repo_name
echo cat >postinsttest_src1/profiles/categories
cat <<END >postinsttest_src1/cat/pkg/pkg-0.ebuild
-if [[ \${PV} == 0* ]]; then
- EAPI=1
-else
- EAPI=paludis-1
-fi
+EAPI=1
KEYWORDS="test"
if [[ \${PV} == 2* ]]; then
SLOT="2"
@@ -58,6 +54,7 @@ pkg_postrm() {
END
cp postinsttest_src1/cat/pkg/pkg-{0,0.1}.ebuild
cp postinsttest_src1/cat/pkg/pkg-{0,1}.ebuild
-cp postinsttest_src1/cat/pkg/pkg-{0,1.1}.ebuild
-cp postinsttest_src1/cat/pkg/pkg-{0,2}.ebuild
+sed -i -e 's/EAPI=1/EAPI=paludis-1/' postinsttest_src1/cat/pkg/pkg-1.ebuild
+cp postinsttest_src1/cat/pkg/pkg-{1,1.1}.ebuild
+cp postinsttest_src1/cat/pkg/pkg-{1,2}.ebuild