From 243ef85b2f27a45fdf9bb2cfb9ec52d3e65a7c3a Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Sun, 27 Jan 2008 01:01:22 -0300 Subject: [PATCH] Fixed bug in sde_wrapper_discriminator() --- lib/sde-wrapper-discriminator.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sde-wrapper-discriminator.in b/lib/sde-wrapper-discriminator.in index 171d72e..eae2d23 100644 --- a/lib/sde-wrapper-discriminator.in +++ b/lib/sde-wrapper-discriminator.in @@ -53,6 +53,6 @@ sde_wrapper_discriminator() { else # given token may be an alias of a valid discriminator for this command combin=$( grep -l "^#Alias: $1$" `sde_wrapper_discriminator_list $command` | head -n 1 ) - echo "$discbin" | sed -e 's,.*/sde-,,' + echo $( sde_wrapper_name "$combin" ) fi }