4 |
# needs pkgbuild_dir (mage) |
# needs pkgbuild_dir (mage) |
5 |
|
|
6 |
# SMAGE2 |
# SMAGE2 |
7 |
# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/smage2.sh,v 1.18 2005-07-31 14:47:55 niro Exp $ |
# $Header: /home/cvsd/magellan-cvs/magellan-src/mage/usr/lib/mage/smage2.sh,v 1.20 2005-08-09 14:17:15 niro Exp $ |
8 |
|
|
9 |
#01.10.2004 |
#01.10.2004 |
10 |
# added ccache support |
# added ccache support |
360 |
sminclude() { |
sminclude() { |
361 |
local i |
local i |
362 |
|
|
363 |
if [ -n "$@" ] |
if [[ -n "$@" ]] |
364 |
then |
then |
365 |
for i in $@ |
for i in $@ |
366 |
do |
do |
367 |
echo "--- Including ${SMAGESCRIPTSDIR}/include/${i}.sminc" |
echo "--- Including ${SMAGESCRIPTSDIR}/include/${i}.sminc" |
368 |
source ${SMAGESCRIPTSDIR}/include/${i}.sminc |
source ${SMAGESCRIPTSDIR}/include/${i}.sminc |
369 |
done |
done |
370 |
|
echo |
371 |
fi |
fi |
372 |
} |
} |
373 |
|
|