From 6f239df8e7ed5926eaaebba11578b80ad9911696 Mon Sep 17 00:00:00 2001 From: paltherr Date: Tue, 28 Oct 2003 13:33:50 +0000 Subject: - Fixed warning messages --- sources/bin/.scala_wrapper.tmpl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sources/bin') diff --git a/sources/bin/.scala_wrapper.tmpl b/sources/bin/.scala_wrapper.tmpl index f843f102b1..5722af402e 100644 --- a/sources/bin/.scala_wrapper.tmpl +++ b/sources/bin/.scala_wrapper.tmpl @@ -498,13 +498,13 @@ case "$SCRIPT" in scalap* ) exec_scalap scala.tools.scalap.Main "$@";; scalatest* ) exec_scalatest scala.tools.scalatest.Main "$@";; socos* ) - warning "Deprecated command, use scalac${SCRIPT#socos} instead."; + warning "Deprecated command, use scalarun`expr "$SCRIPT" : 'socos\(.*\)'` instead."; exec_compile scalac.Main "$@";; surus* ) - warning "Deprecated command, use scalarun${SCRIPT#surus} instead."; + warning "Deprecated command, use scalarun`expr "$SCRIPT" : 'surus\(.*\)'` instead."; exec_compile scalai.Main "$@";; siris* ) - warning "Deprecated command, use scalaint${SCRIPT#siris} instead."; + warning "Deprecated command, use scalarun`expr "$SCRIPT" : 'siris\(.*\)'` instead."; exec_compile scalai.Main -interactive "$@";; * ) abort "Don't know what to do for $SCRIPT.";; esac; -- cgit v1.2.3