Browse Source

Renamed lib/sde-wrapper.in's sde_list_command_files() to sde_wrapper_command_list()

karasz/new-early
Alejandro Mery 17 years ago
parent
commit
c24bbfea06
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      lib/sde-wrapper.in

+ 3
- 3
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
}

Loading…
Cancel
Save