drm/panthor: Don't add write fences to the shared BOs
[drm/drm-misc.git] / scripts / pahole-version.sh
blobf8a32ab93ad12c9c2715750c87381e72a9e69c0c
1 #!/bin/sh
2 # SPDX-License-Identifier: GPL-2.0
4 # Usage: $ ./pahole-version.sh pahole
6 # Prints pahole's version in a 3-digit form, such as 119 for v1.19.
8 if [ ! -x "$(command -v "$@")" ]; then
9 echo 0
10 exit 1
13 "$@" --version | sed -E 's/v([0-9]+)\.([0-9]+)/\1\2/'