mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 11:31:51 +01:00
9 lines
188 B
Text
9 lines
188 B
Text
|
#!/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
|