summaryrefslogtreecommitdiff
path: root/src/lib/elementary/config_embed
blob: e515ca35f89772846271be559aba3d7aeb515fb0 (plain) (blame)
1
2
3
4
#!/bin/sh
echo "static const char *embedded_config = \"\"" > $2
sed -e 's/"/\\"/g; s/$/\"/; s/^/\"/' $1 >> $2
echo "\"\";" >> $2