15 |
die "svn checkout of smage required. run buildserver-svn first." |
die "svn checkout of smage required. run buildserver-svn first." |
16 |
fi |
fi |
17 |
|
|
|
# create buildroot layout |
|
|
if [ -d ${BUILDROOT}/tmp/mage-tree ] |
|
|
then |
|
|
rm -r ${BUILDROOT}/tmp/mage-tree || die "cleaning global mage tree tmp" |
|
|
install -d ${BUILDROOT}/tmp/mage-tree || die "creating global mage tree tmp dir" |
|
|
fi |
|
|
|
|
18 |
for arch in ${BUILD_ARCH[*]} src |
for arch in ${BUILD_ARCH[*]} src |
19 |
do |
do |
20 |
if [ -d ${BUILDROOT}/${arch}/usr/mage ] |
if [ -d ${BUILDROOT}/${arch}/usr/mage ] |