summaryrefslogtreecommitdiff
path: root/tests/no-rpath-prebuild.sh
diff options
context:
space:
mode:
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