summaryrefslogtreecommitdiffstats
path: root/tests/no-rpath.sh
diff options
context:
space:
mode:
authorVincent Danjean <Vincent.Danjean@ens-lyon.org>2012-06-21 08:03:31 (GMT)
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-07-10 22:16:24 (GMT)
commit4f66601450ab246d1b3fb2f7fba106ca6c8af089 (patch)
tree849c2aae19ba513c155e5461f453338866f7a4be /tests/no-rpath.sh
parentf12f3c96916a12c2e80e9ce6890ec839f56b2a39 (diff)
downloadpatchelf-4f66601450ab246d1b3fb2f7fba106ca6c8af089.zip
patchelf-4f66601450ab246d1b3fb2f7fba106ca6c8af089.tar.gz
patchelf-4f66601450ab246d1b3fb2f7fba106ca6c8af089.tar.bz2
fix build *and check* out of tree
- use Makefile variables $< (and $@) so that sources are found correctly - use ${srcdir} in test scripts to find the sources This allows "make distcheck" to successfully pass
Diffstat (limited to 'tests/no-rpath.sh')
-rwxr-xr-xtests/no-rpath.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/no-rpath.sh b/tests/no-rpath.sh
index c253952..7245317 100755
--- a/tests/no-rpath.sh
+++ b/tests/no-rpath.sh
@@ -3,7 +3,7 @@
rm -rf scratch
mkdir -p scratch
-cp no-rpath scratch/
+cp ${srcdir}/no-rpath scratch/
oldRPath=$(../src/patchelf --print-rpath scratch/no-rpath)
if test -n "$oldRPath"; then exit 1; fi