Test for Asterisk Version info
[asterisk/asterisk.git] / build_tools / make_linker_version_script
1 #!/bin/sh
2
3 test -f ${1}.exports.in && ${AWK} "{sub(\"LINKER_SYMBOL_PREFIX\", \"${2}\"); print;}" ${1}.exports.in > ${1}.exports && exit 0
4 test -f ${1}.exports.in || rm -f ${1}.exports && cp ${3}/default.exports ${1}.exports && exit 0
5