summaryrefslogtreecommitdiff
path: root/ndb/config/win-sources
blob: a383bb0e613983c64fd72a4551f07fb3b4132c03 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

dst=$1
shift

out=`echo $* | sed 's!\([^ ]*\)!# Begin Source File\\\nSOURCE=\1\\\n# End Source File\\\n!g'`
sed -e "s!@sources@!$out!g" $dst > /tmp/$dst.$$
mv /tmp/$dst.$$ $dst