diff options
author | Vincent Danjean <Vincent.Danjean@ens-lyon.org> | 2012-06-21 08:03:31 (GMT) |
---|---|---|
committer | Vincent Danjean <Vincent.Danjean@ens-lyon.org> | 2012-06-21 08:03:31 (GMT) |
commit | a47966515893d9ddf720bbbb001735a5756b6f6b (patch) | |
tree | 849c2aae19ba513c155e5461f453338866f7a4be /tests/no-rpath.sh | |
parent | ff53a0284adb5c18b65eb86279cd85b4ff562861 (diff) | |
download | patchelf-a47966515893d9ddf720bbbb001735a5756b6f6b.zip patchelf-a47966515893d9ddf720bbbb001735a5756b6f6b.tar.gz patchelf-a47966515893d9ddf720bbbb001735a5756b6f6b.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-x | tests/no-rpath.sh | 2 |
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 |