Browse Source

sde-wrapper: fixed lib/sde-wrapper-discriminator.in to work with ubuntu's /bin/sh (dash)

karasz/new-early
Alejandro Mery 16 years ago
parent
commit
e32b8e299b
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      lib/sde-wrapper-discriminator.in

+ 2
- 2
lib/sde-wrapper-discriminator.in

@ -32,9 +32,9 @@ sde_wrapper_discriminator_help() {
for toy in $( sde_wrapper_discriminator_list "$1" ); do for toy in $( sde_wrapper_discriminator_list "$1" ); do
name=$( sde_wrapper_name "$toy" ) name=$( sde_wrapper_name "$toy" )
desc=$( sde_wrapper_desc "$toy" ) desc=$( sde_wrapper_desc "$toy" )
aliases=$( sde_wrapper_aliases "$toy" )
aliases=$( sde_wrapper_aliases "$toy" | tr ' ' ',')
printf "%15s %s%s\n" "$name" "${desc:-...}" "${aliases:+ (Alias: ${aliases// /,})}"
printf "%15s %s%s\n" "$name" "${desc:-...}" "${aliases:+ (Alias: $aliases)}"
done done
cat <<-EOT cat <<-EOT

Loading…
Cancel
Save