From: Lukas Mai Date: Tue, 5 Feb 2013 00:56:06 +0000 (+0100) Subject: generalize 'make multitest' with $PERLBREW_ROOT X-Git-Tag: v1.0101~3^2^2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FFunction-Parameters.git;a=commitdiff_plain;h=7bb8e9228c380101ddee2692d71c2f43003fe3dc generalize 'make multitest' with $PERLBREW_ROOT --- diff --git a/GNUmakefile b/GNUmakefile index 02cadbc..653125c 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -5,7 +5,7 @@ CCFLAGS := -DDEVEL $(CCFLAGS) .PHONY: multitest multitest: f=''; \ - for i in ~/perl5/perlbrew/perls/perl-5.1[468]*/bin/perl perl; do \ + for i in "$$PERLBREW_ROOT"/perls/*5.1[468]*/bin/perl perl; do \ echo "Trying $$i ..."; \ $$i Makefile.PL && make && make test; \ [ $$? = 0 ] || f="$$f $$i"; \