aboutsummaryrefslogtreecommitdiff
path: root/travis
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2020-10-06 22:55:23 +0200
committerEven Rouault <even.rouault@spatialys.com>2020-10-06 22:55:23 +0200
commit80c00d2727c792878dca36476ead87c575392408 (patch)
tree6eeb9690614afb3cb5b8d4273419418968cf4306 /travis
parentf9c17392ad2f532ec1007a171ac616884dba48b2 (diff)
downloadPROJ-80c00d2727c792878dca36476ead87c575392408.tar.gz
PROJ-80c00d2727c792878dca36476ead87c575392408.zip
Update scripts/reference_exported_symbols.txt and fix checking of them in travis/install.sh
Diffstat (limited to 'travis')
-rwxr-xr-xtravis/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/travis/install.sh b/travis/install.sh
index aca1624b..9bea1ba5 100755
--- a/travis/install.sh
+++ b/travis/install.sh
@@ -39,7 +39,7 @@ cd build_autoconf
make
if [ "$(uname)" == "Linux" -a -f src/.libs/libproj.so ]; then
-if objdump -TC "$1" | grep "elf64-x86-64">/dev/null; then
+if objdump -TC "src/.libs/libproj.so" | grep "elf64-x86-64">/dev/null; then
echo "Checking exported symbols..."
$TRAVIS_BUILD_DIR/scripts/dump_exported_symbols.sh src/.libs/libproj.so > /tmp/got_symbols.txt
diff -u $TRAVIS_BUILD_DIR/scripts/reference_exported_symbols.txt /tmp/got_symbols.txt || (echo "Difference(s) found in exported symbols. If intended, refresh scripts/reference_exported_symbols.txt with 'scripts/dump_exported_symbols.sh src/.libs/libproj.so > scripts/reference_exported_symbols.txt'"; exit 1)