Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

an empty version now counts as an unknown version

git-svn-id: http://shflags.googlecode.com/svn/trunk/source/1.0@98 9d7cb843-df4f-0410-8a79-4785ae5a3405
  • Loading branch information...
commit 8749df3994aee66396112f1310788646423c790b 1 parent 52bf5c3
kate.ward@forestent.com authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/versions
View
4 lib/versions
@@ -70,7 +70,7 @@ versions_shellVersion()
return
fi
- version_='unknown'
+ version_=''
case ${shell_} in
*/sh)
# TODO(kward): fix this
@@ -94,7 +94,7 @@ versions_shellVersion()
*) version_='invalid'
esac
- echo ${version_}
+ echo ${version_:-unknown}
unset shell_ version_
}
Please sign in to comment.
Something went wrong with that request. Please try again.