From 024cdd4136214cec474ec477f04940fcab8ea9c0 Mon Sep 17 00:00:00 2001 From: Adriaan Moors Date: Thu, 28 Mar 2013 16:44:34 -0700 Subject: Strip version suffix from diffutils. --- build.xml | 20 +++++++++++--------- .../scala/tools/partest/nest/PathSettings.scala | 2 +- test/partest | 2 +- 3 files changed, 13 insertions(+), 11 deletions(-) diff --git a/build.xml b/build.xml index 7c133b2ed6..5b776d1abd 100644 --- a/build.xml +++ b/build.xml @@ -197,18 +197,13 @@ targets exercised: - + - - - - - @@ -1159,10 +1154,11 @@ targets exercised: - + - - + + @@ -1694,8 +1690,14 @@ targets exercised: + + + + + diff --git a/src/partest/scala/tools/partest/nest/PathSettings.scala b/src/partest/scala/tools/partest/nest/PathSettings.scala index dfa1187691..0ba34777a0 100644 --- a/src/partest/scala/tools/partest/nest/PathSettings.scala +++ b/src/partest/scala/tools/partest/nest/PathSettings.scala @@ -74,7 +74,7 @@ object PathSettings { } lazy val diffUtils: File = - findJar(buildPackLibDir.files, "diffutils-1.3.0") getOrElse sys.error(s"No diffutils-1.3.0.jar found in '$buildPackLibDir'.") + findJar(buildPackLibDir.files, "diffutils") getOrElse sys.error(s"No diffutils.jar found in '$buildPackLibDir'.") } class PathSettings() { diff --git a/test/partest b/test/partest index 57ca24a7a0..842d2903b7 100755 --- a/test/partest +++ b/test/partest @@ -53,7 +53,7 @@ if [ -z "$EXT_CLASSPATH" ] ; then fi done elif [ -f "$SCALA_HOME/build/pack/lib/scala-partest.jar" ] ; then - for lib in `echo "scala-partest scala-library scala-reflect scala-compiler diffutils-1.3.0"`; do + for lib in `echo "scala-partest scala-library scala-reflect scala-compiler diffutils"`; do ext="$SCALA_HOME/build/pack/lib/$lib.jar" if [ -z "$EXT_CLASSPATH" ] ; then EXT_CLASSPATH="$ext" -- cgit v1.2.3