summaryrefslogtreecommitdiff
path: root/tests/no-rpath-prebuild.sh
diff options
context:
space:
mode:
authorBreno Rodrigues Guimaraes <brenorg@gmail.com>2023-03-11 11:34:25 -0300
committerBreno Rodrigues Guimaraes <brenorg@gmail.com>2023-03-11 11:37:11 -0300
commit8adc31ed7b30b689e50314c1c8a1842bc6e164af (patch)
tree75f3793d05ab86938a303eef4897412de18d704e /tests/no-rpath-prebuild.sh
parent27cbc89d4830d5ae1fe3a2396f2a6042266895bc (diff)
downloadpatchelf-8adc31ed7b30b689e50314c1c8a1842bc6e164af.tar.gz
Fix all shellcheck issues
Diffstat (limited to 'tests/no-rpath-prebuild.sh')
-rwxr-xr-xtests/no-rpath-prebuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/no-rpath-prebuild.sh b/tests/no-rpath-prebuild.sh
index 143c55c..aeeecf8 100755
--- a/tests/no-rpath-prebuild.sh
+++ b/tests/no-rpath-prebuild.sh
@@ -14,10 +14,10 @@ if [ -z "$ARCH" ] || [ "$ARCH" = prebuild ] ; then
exit 1
fi
-no_rpath_bin="${srcdir}/no-rpath-prebuild/no-rpath-$ARCH"
+no_rpath_bin="${srcdir:?}/no-rpath-prebuild/no-rpath-$ARCH"
if [ ! -f "$no_rpath_bin" ]; then
- echo "no 'no-rpath' binary for '$ARCH' in '${srcdir}/no-rpath-prebuild'"
+ echo "no 'no-rpath' binary for '$ARCH' in '${srcdir:?}/no-rpath-prebuild'"
exit 1
fi