fontconfig/config/config-subst

11 lines
219 B
Plaintext
Raw Normal View History

#!/bin/sh
2002-05-24 01:00:46 +02:00
script=config-subst.$$
trap "rm $script" 0
rm -f $script
for i in ${1+"$@"}; do
2002-05-24 01:00:46 +02:00
var="`echo "$i" | sed 's/=.*$//'`"
val="`echo "$i" | sed 's/^[^=]*=//'`"
echo "s;@$var@;$val;" >> $script
done
2002-05-24 01:00:46 +02:00
sed -f $script