]>
Commit | Line | Data |
---|---|---|
d8cd04f8 MV |
1 | #!/bin/sh |
2 | ||
707bc266 MV |
3 | if [ ! -d ../build ]; then |
4 | echo "../build missing, did you run make?" | |
5 | exit 1 | |
6 | fi | |
7 | ||
183116d1 MV |
8 | if [ ! -x "$(which abi-compliance-checker 2>/dev/null )" ]; then |
9 | echo "Please install the 'abi-compliance-checker' package" | |
ca57fd4d MV |
10 | exit 1 |
11 | fi | |
12 | ||
b8c42fc0 | 13 | LIBPATH=$(find /usr/lib/ -type f -name "libapt-*.so.*" -printf %p\\\\n) |
d8cd04f8 MV |
14 | sed s#@installed_libapt@#$LIBPATH# apt_installed.xml.in > apt_installed.xml |
15 | ||
f0e33f05 MV |
16 | BUILDPATH=$(readlink -f ../build) |
17 | sed s#@build_path@#$BUILDPATH# apt_build.xml.in > apt_build.xml | |
18 | ||
ca57fd4d | 19 | abi-compliance-checker -l apt -d1 apt_installed.xml -d2 apt_build.xml |