Browse Source

Cleaned sed expression on ./bin/sde-create-package's output_tag()

karasz/new-early
Alejandro Mery 17 years ago
parent
commit
6c44af6b4e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bin/sde-create-package

+ 1
- 1
bin/sde-create-package

@ -138,7 +138,7 @@ output_has_tag()
# what do we know for the $1 tag?
output_tag()
{
echo "$output" | grep "^\[$1\]" | sed -e 's,^\[\([A-Z-]\+\)\][ \t]*,,' -e 's,[ \t]*\$,,'
echo "$output" | grep "^\[$1\]" | sed -e 's,^\[[^]]\+\][ \t]*,,' -e 's,[ \t]*\$,,'
}
# checks if output has $1, and return $2 if not

Loading…
Cancel
Save