aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Ferrell <major@homeonderanged.org>2012-04-19 08:52:12 -0500
committerMark Ferrell <major@homeonderanged.org>2012-04-19 08:52:12 -0500
commitc5d3f89c720c4f0fa31dc788f00dcfbd5ccfe295 (patch)
treea16b4dc5056576602d68440feb7d69f4eac0ee03
parent992bd148db0aee9dad1b75e35a3cf6ddddb69103 (diff)
Properly reference the category path
-rwxr-xr-xscripts/builder/build-prep6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/builder/build-prep b/scripts/builder/build-prep
index 9fe8def..f6a772b 100755
--- a/scripts/builder/build-prep
+++ b/scripts/builder/build-prep
@@ -23,13 +23,13 @@ done
wait
-if [ -d "${BUILDER_PKGDIR}/${NAME}/source" ]; then
+if [ -d "${BUILDER_PKGDIR}/${CATEGORY}/${NAME}/source" ]; then
if [ "$(command -v rsync)" ]; then
- if ! rsync -rav --delete "${BUILDER_PKGDIR}/${NAME}/source/" "${S}"; then
+ if ! rsync -rav --delete "${BUILDER_PKGDIR}/${CATEGORY}/${NAME}/source/" "${S}"; then
die "failed to sync source to '${S}'"
fi
else
- if ! cp -vadpR "${BUILDER_PKGDIR}/${NAME}/source" "${S}"; then
+ if ! cp -vadpR "${BUILDER_PKGDIR}/${CATEGORY}/${NAME}/source" "${S}"; then
die "failed to copy source to '${S}'"
fi
fi >> "${L}/prep.log" 2>&1