aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-01-12 18:18:11 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-01-12 18:18:11 +0000
commit724e79dec195aaeea8b32a0b2a5c4f7009b5a4d9 (patch)
tree776965637cc1cb4d76e5a5624bbc99dd5140611d
parent8bdc764c12b4e9d8ffc9e7accdd88331a3bfc4fd (diff)
downloadpaludis-724e79dec195aaeea8b32a0b2a5c4f7009b5a4d9.tar.gz
paludis-724e79dec195aaeea8b32a0b2a5c4f7009b5a4d9.tar.xz
Fix the upgrade path
-rwxr-xr-xpaludis/repositories/e/ebuild/ebuild.bash2
-rwxr-xr-xpaludis/repositories/e/ebuild/write_vdb_entry.bash1
2 files changed, 3 insertions, 0 deletions
diff --git a/paludis/repositories/e/ebuild/ebuild.bash b/paludis/repositories/e/ebuild/ebuild.bash
index 2deef53..e09e862 100755
--- a/paludis/repositories/e/ebuild/ebuild.bash
+++ b/paludis/repositories/e/ebuild/ebuild.bash
@@ -71,6 +71,8 @@ if ! [[ -d ${EBUILD_MODULES_DIR} ]] ; then
exit 123
fi
+# Upgrade from back when 0/ wasn't its own dir.
+[[ -z "${PALUDIS_EBUILD_MODULE_SUFFIXES}" ]] && PALUDIS_EBUILD_MODULE_SUFFIXES=0
for p in ${PALUDIS_EBUILD_MODULE_SUFFIXES}; do
EBUILD_MODULES_DIRS="${EBUILD_MODULES_DIRS} ${EBUILD_MODULES_DIR}/${p}"
done
diff --git a/paludis/repositories/e/ebuild/write_vdb_entry.bash b/paludis/repositories/e/ebuild/write_vdb_entry.bash
index 8f8aa15..1a47cc0 100755
--- a/paludis/repositories/e/ebuild/write_vdb_entry.bash
+++ b/paludis/repositories/e/ebuild/write_vdb_entry.bash
@@ -42,6 +42,7 @@ if ! [[ -d ${EBUILD_MODULES_DIR} ]] ; then
exit 123
fi
+[[ -z "${PALUDIS_EBUILD_MODULE_SUFFIXES}" ]] && PALUDIS_EBUILD_MODULE_SUFFIXES=0
for p in ${PALUDIS_EBUILD_MODULE_SUFFIXES}; do
EBUILD_MODULES_DIRS="${EBUILD_MODULES_DIRS} ${EBUILD_MODULES_DIR}/${p}"
done