From c24bbfea06612a6405ac184dc1bc2a2cd679c0d1 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Sat, 26 Jan 2008 17:20:58 -0300 Subject: [PATCH] Renamed lib/sde-wrapper.in's sde_list_command_files() to sde_wrapper_command_list() --- lib/sde-wrapper.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/sde-wrapper.in b/lib/sde-wrapper.in index 0923605..a2ca26a 100644 --- a/lib/sde-wrapper.in +++ b/lib/sde-wrapper.in @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: lib/sde-wrapper.in -# Copyright (C) 2006 - 2007 The OpenSDE Project +# Copyright (C) 2006 - 2008 The OpenSDE Project # # More information can be found in the files COPYING and README. # @@ -14,7 +14,7 @@ # list all the valid command wrappers # -sde_list_command_files() { +sde_wrapper_command_list() { ls -1d "$SDEROOT/bin/sde-"* | grep -v 'bin/sde-.*-.*' } @@ -28,7 +28,7 @@ sde_wrapper_command() { echo "$1" else # given token may be an alias of a valid command - cmdbin=$( grep -l "^#Alias: $1$" `sde_list_command_files` | head -n 1 ) + cmdbin=$( grep -l "^#Alias: $1$" `sde_wrapper_command_list` | head -n 1 ) echo "$cmdbin" | sed -e 's,.*/sde-,,' fi }