diff options
author | Chris Larson <clarson@kergoth.com> | 2004-11-11 06:36:47 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-11-11 06:36:47 +0000 |
commit | b8c6f9c62a4d235d9a40508e60e711e187428ca5 (patch) | |
tree | 8c01a17cc4896aee0e0a5047608f61c9475a9828 /classes/src_distribute_local.oeclass | |
parent | 9cbeb648139688efaa245c18fd9a0ce09928e09b (diff) |
Merge openembedded@openembedded.bkbits.net:packages-devel
into handhelds.org:/home/kergoth/code/packages
2004/11/11 00:36:29-06:00 handhelds.org!kergoth
Fix a couple bugs in the source distribution classes.
BKrev: 4193087fQYB1X1bEsSg0Yi3cfjJz9A
Diffstat (limited to 'classes/src_distribute_local.oeclass')
-rw-r--r-- | classes/src_distribute_local.oeclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/classes/src_distribute_local.oeclass b/classes/src_distribute_local.oeclass index 05ec117649..64705895f4 100644 --- a/classes/src_distribute_local.oeclass +++ b/classes/src_distribute_local.oeclass @@ -8,6 +8,11 @@ SRC_DIST_LOCAL ?= "move+symlink" SRC_DISTRIBUTEDIR ?= "${DEPLOY_DIR}/sources" SRC_DISTRIBUTECOMMAND () { s="${SRC}" + if [ ! -L "$s" ] && (echo "$s"|grep "^${DL_DIR}"); then + : + else + exit 0; + fi mkdir -p ${SRC_DISTRIBUTEDIR} case "${SRC_DIST_LOCAL}" in copy) |