Skip to content

Commit

Permalink
Do not confuse emails which names start with the same characters (e.g…
Browse files Browse the repository at this point in the history
…. email and emails)
  • Loading branch information
mikhailnov committed Jun 27, 2020
1 parent 16ddf20 commit 158390f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bashlib.in
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ PATH=/bin:/usr/bin
#
# Set version number
#
VERSION="0.05"
VERSION="0.06"

# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
# Initialization stuff begins here. These things run immediately, and
Expand Down Expand Up @@ -178,7 +178,7 @@ param() {
if [ $# -eq 1 ]; then
name=$1
name=$(echo ${name} | @SED@ -e 's/FORM_//')
value=$(@ENV@ | @GREP@ "^FORM_${name}" | @SED@ -e 's/FORM_//' | @CUT@ -d= -f2-)
value=$(@ENV@ | @GREP@ "^FORM_${name}=" | @SED@ -e 's/FORM_//' | @CUT@ -d= -f2-)
elif [ $# -gt 1 ]; then
name=$1
shift
Expand Down

0 comments on commit 158390f

Please sign in to comment.