Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Fix broken PATH
· 27a60c48
Andreas Tille
authored
Sep 06, 2018
27a60c48
Really fix broken command line
· c1f1472d
Andreas Tille
authored
Sep 06, 2018
c1f1472d
Show whitespace changes
Inline
Side-by-side
debian/rules
View file @
c1f1472d
...
...
@@ -27,6 +27,9 @@ override_dh_auto_test: $(subst .t.in,.deb.t,$(wildcard tests/src/cram/pb*.t.in))
python tests/scripts/generate_data.py $(CURDIR)/tests/data $(generated_data_dir)
# remove dfsg extension from test cases
sed -i -e 's/+dfsg//g' -e 's?\(/build/$(DEB_SOURCE)-[0-9.]\+\)/?\1+dfsg/?' tests/src/cram/*
# Fix broken PATH
synthetic_movie_all_path=`find $$PWD -name synthetic_movie_all.subreadset.xml` ; \
sed -i -e "s?.GENERATEDDATADIR/synthetic_movie_all.subreadset.xml?$${synthetic_movie_all_path}?" tests/src/cram/pbbamify*
BINDIR=`dirname $$(find $$PWD -name pbmerge -type f -executable)`; \
LIBDIR=`find $$PWD -name lib -type d`; \
PATH="$$BINDIR:$(PATH)" LD_LIBRARY_PATH="$$LIBDIR:$(LD_LIBRARY_PATH)" \
...
...