summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Robbins <drobbins@gentoo.org>2000-11-23 03:40:12 +0000
committerDaniel Robbins <drobbins@gentoo.org>2000-11-23 03:40:12 +0000
commitf0f32dc91d1258aa249be2a0fdbb1a95b23f92b8 (patch)
tree9315f02b4005ae1b03887f09dc8a53ad44ae6bc6 /sys-apps
parentlittle fix (diff)
downloadgentoo-2-f0f32dc91d1258aa249be2a0fdbb1a95b23f92b8.tar.gz
gentoo-2-f0f32dc91d1258aa249be2a0fdbb1a95b23f92b8.tar.bz2
gentoo-2-f0f32dc91d1258aa249be2a0fdbb1a95b23f92b8.zip
little ebuild tweak and almost done kernel update
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/portage/files/ebuild11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-apps/portage/files/ebuild b/sys-apps/portage/files/ebuild
index 22852416c710..b7931c994159 100644
--- a/sys-apps/portage/files/ebuild
+++ b/sys-apps/portage/files/ebuild
@@ -870,6 +870,17 @@ then
source ${PEBUILD}
fi
+#auto-generate ${A} based on ${SRC_URI} if ${A} isn't defined...
+if [ "${A}" = "" ]
+then
+ A=""
+ for x in $SRC_URI
+ do
+ A="${A} "`basename $x`
+ done
+fi
+
+
if [ ! -z ${BUILD_PREFIX} ]
then
export BUILDDIR=${BUILD_PREFIX}/${PF}