2004-11-10 00:03:01 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
dst=$1
|
|
|
|
shift
|
|
|
|
|
|
|
|
out=`echo $* | sed 's!\([^ ]*\)!# Begin Source File\\\nSOURCE=\1\\\n# End Source File\\\n!g'`
|
2004-11-12 10:59:00 +01:00
|
|
|
sed -e "s!@sources@!$out!g" $dst > /tmp/$dst.$$
|
2004-11-10 00:03:01 +01:00
|
|
|
mv /tmp/$dst.$$ $dst
|