aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-09-11 16:57:01 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-09-11 16:57:01 +0000
commit78e37be7e2d19293c861fcfb12fe821fe99a0dc6 (patch)
treeed38ea7204a958475dae7fe0ac9c3c90a27008fe
parent60c88e786979ba2ba2099447609c45ac83436ca0 (diff)
downloadpaludis-78e37be7e2d19293c861fcfb12fe821fe99a0dc6.tar.gz
paludis-78e37be7e2d19293c861fcfb12fe821fe99a0dc6.tar.xz
Don't require /var/db/pkg. Fixes: ticket:362
-rwxr-xr-xpaludis/environments/portage/portage_environment_TEST_setup.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/paludis/environments/portage/portage_environment_TEST_setup.sh b/paludis/environments/portage/portage_environment_TEST_setup.sh
index a6b9d74..f260eab 100755
--- a/paludis/environments/portage/portage_environment_TEST_setup.sh
+++ b/paludis/environments/portage/portage_environment_TEST_setup.sh
@@ -5,7 +5,8 @@ mkdir portage_environment_TEST_dir || exit 2
cd portage_environment_TEST_dir || exit 3
mkdir -p profile
-cat <<"END" > profile/make.defaults
+cat <<END > profile/make.defaults
+ROOT="`pwd`"
ARCH="arch"
ACCEPT_KEYWORDS="arch"
USE_EXPAND="FOO_CARDS"
@@ -13,6 +14,8 @@ FOO_CARDS="four"
USE="foo_c"
END
+mkdir -p var/db/pkg
+
mkdir -p repo/{profiles,cat-one/pkg-{one,two,three,four,x}}
cat <<"END" > repo/profiles/repo_name
repo