Skip to content

Commit

Permalink
Bump version, enable integer comparison of versions if needed, some c…
Browse files Browse the repository at this point in the history
…lean up
  • Loading branch information
mikhailnov committed Feb 21, 2022
1 parent 582b417 commit 8a5cc81
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions bashlib.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,19 @@

# Author: darren chamberlain <[email protected]>
# Co-Author: Paul Bournival <[email protected]>
# Co-Author: Mikhail Novosyolov <[email protected]>
#

#######
# Updated Oct 15 2004 by Tony Clayton <t ny-bashlib@clayt n.ca>
# * add safe_param() function with XSS and shell-invocation prevention
# * add extra "| tr -d '$`'" sanity check to name decoding to prevent shell
# invocation of param names.
# * ported function defs to be bash/ash compatible
#######

# bashlib is used by sourcing it at the beginning of scripts that
# needs its functionality (by using the . or source commands).

PATH=/bin:/usr/bin

#
# Set version number
# Must be an integer because bash cannot compare float numbers
#
VERSION="0.06"
VERSION="2"

# -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
# Initialization stuff begins here. These things run immediately, and
Expand Down

0 comments on commit 8a5cc81

Please sign in to comment.