diff options
Diffstat (limited to 'storage/ndb/config/win-sources')
-rwxr-xr-x | storage/ndb/config/win-sources | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/storage/ndb/config/win-sources b/storage/ndb/config/win-sources new file mode 100755 index 00000000000..a383bb0e613 --- /dev/null +++ b/storage/ndb/config/win-sources @@ -0,0 +1,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 |