mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
32796b4860
Add rules for creating dsp-files
8 lines
143 B
Bash
Executable file
8 lines
143 B
Bash
Executable file
#!/bin/sh
|
|
|
|
dst=$1
|
|
shift
|
|
|
|
out=`echo $* | sed 's/-I\([^ ]*\)/\/I "\1"/g'`
|
|
sed -e "s!@includes@!$out!g" $dst > /tmp/$dst.$$
|
|
mv /tmp/$dst.$$ $dst
|