20 |
die "no smage file given. call '$(basename $0) with/relative/path/from/buildroot/svn/smage/to/smagefile'" |
die "no smage file given. call '$(basename $0) with/relative/path/from/buildroot/svn/smage/to/smagefile'" |
21 |
fi |
fi |
22 |
|
|
23 |
for arch in ${BUILD_ARCH[*]} src |
for arch in src $(enum-build-arch-types) |
24 |
do |
do |
25 |
|
|
26 |
echo "SMAGEFILE=\"${SMAGEFILE}\"" > ${BUILDROOT}/${arch}/.runrc |
echo "SMAGEFILE=\"${SMAGEFILE}\"" > ${BUILDROOT}/${arch}/.runrc |
73 |
|
|
74 |
if [ -f ${SMAGESCRIPTSDIR}/${SMAGEFILE} ] |
if [ -f ${SMAGESCRIPTSDIR}/${SMAGEFILE} ] |
75 |
then |
then |
76 |
|
# be silent |
77 |
|
FVERBOSE=off \ |
78 |
|
SILENT=1 \ |
79 |
smagesource ${SMAGESCRIPTSDIR}/${SMAGEFILE} |
smagesource ${SMAGESCRIPTSDIR}/${SMAGEFILE} |
80 |
else |
else |
81 |
die "smagefile '${SMAGESCRIPTSDIR}/${SMAGEFILE}' not found." |
die "smagefile '${SMAGESCRIPTSDIR}/${SMAGEFILE}' not found." |