From aa204b6f53f7655c7583e2e1fcecf0f0f1bc8fa8 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Mon, 23 Apr 2012 15:39:35 +0000 Subject: build-system-cpan test: remove redundant mangling --- tests/build-system-cpan.script | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/build-system-cpan.script b/tests/build-system-cpan.script index 0a4be35b..59017d3f 100755 --- a/tests/build-system-cpan.script +++ b/tests/build-system-cpan.script @@ -58,7 +58,6 @@ git commit --quiet -m 'convert hello into a perl cpan project' TEMPEXTRACT="$DATADIR/cpanextract" mkdir -p "$TEMPEXTRACT" -PERLVERSION=`perl -e 'print $^V' | sed 's|^v\(.*\)|\1|'` PERLMAJOR=`perl -e 'print $^V' | sed 's|^v\([^\.]*\)\.[^\.]*\.[^\.]*$|\1|'` ARCH=`perl -V | grep archname | sed 's|^.*archname=\(\S*\).*$|\1|'` @@ -68,6 +67,5 @@ do tar -tf "$chunk" | LC_ALL=C sort | sed -e '/^\.\/./s:^\./::' \ -e s/"$ARCH"/ARCH/ \ - -e s/perl"$PERLMAJOR"/PERLDIR/ \ - -e s/"$PERLVERSION"/PERLVERSION/ + -e s/perl"$PERLMAJOR"/PERLDIR/ done -- cgit v1.2.1