Mercurial > hgrepos > Python2 > PyMuPDF
comparison mupdf-source/thirdparty/curl/scripts/installcheck.sh @ 2:b50eed0cc0ef upstream
ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4.
The directory name has changed: no version number in the expanded directory now.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Mon, 15 Sep 2025 11:43:07 +0200 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1:1d09e1dec1d9 | 2:b50eed0cc0ef |
|---|---|
| 1 #!/bin/bash | |
| 2 | |
| 3 PREFIX=$1 | |
| 4 | |
| 5 # Run this script in the root of the git clone. Point out the install prefix | |
| 6 # where 'make install' has already installed curl. | |
| 7 | |
| 8 if test -z "$1"; then | |
| 9 echo "scripts/installcheck.sh [PREFIX]" | |
| 10 exit | |
| 11 fi | |
| 12 | |
| 13 diff -u <(find docs/libcurl/ -name "*.3" -printf "%f\n" | grep -v template| sort) <(find $PREFIX/share/man/ -name "*.3" -printf "%f\n" | sort) | |
| 14 | |
| 15 if test "$?" -ne "0"; then | |
| 16 echo "ERROR: installed libcurl docs mismatch" | |
| 17 exit 2 | |
| 18 fi | |
| 19 | |
| 20 diff -u <(find include/ -name "*.h" -printf "%f\n" | sort) <(find $PREFIX/include/ -name "*.h" -printf "%f\n" | sort) | |
| 21 | |
| 22 if test "$?" -ne "0"; then | |
| 23 echo "ERROR: installed include files mismatch" | |
| 24 exit 1 | |
| 25 fi | |
| 26 | |
| 27 echo "installcheck: installed libcurl docs and include files look good" |
