mariadb/ndb/config/win-sources
unknown f0614a9fec wl1744 - ndb on windows
Add rules for creating dsp-files
2004-11-10 00:03:01 +01:00

8 lines
188 B
Bash
Executable file

#!/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