freeswitch/cc.sh

11 lines
257 B
Bash
Raw Normal View History

2012-07-06 18:54:17 -04:00
cc=`cat cluecon.tmpl | sed 's/\\\\/\\\\\\\\/g' | awk '{printf "%s\\\\n", $0}' `
cc_s=`cat cluecon_small.tmpl | sed 's/\\\\/\\\\\\\\/g' | awk '{printf "%s\\\\n", $0}' `
2012-07-06 18:54:17 -04:00
cat <<EOF > src/include/cc.h
const char *cc = "$cc";
const char *cc_s = "$cc_s";
2012-07-06 18:54:17 -04:00
EOF