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