2009-11-13 17:09:22 -07:00
|
|
|
#! /bin/sh
|
|
|
|
|
2010-03-29 11:12:55 -06:00
|
|
|
while IFS=: read key val; do
|
|
|
|
tval=$(echo $val | sed "s/'/\'/g")
|
|
|
|
case $key in
|
|
|
|
Name)
|
|
|
|
tartan="$tval"
|
|
|
|
;;
|
|
|
|
Sett)
|
|
|
|
sett="$tval"
|
|
|
|
;;
|
|
|
|
"")
|
|
|
|
break
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
done
|
2009-11-13 17:09:22 -07:00
|
|
|
|
2010-03-29 11:12:55 -06:00
|
|
|
m4 -DTARTAN="$tartan" -DSETT="$sett" -DIMAGE="$1" $2 -
|
2009-11-13 17:09:22 -07:00
|
|
|
|