forked from dlc/bashlib
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump version, enable integer comparison of versions if needed, some c…
…lean up
- Loading branch information
1 parent
582b417
commit 8a5cc81
Showing
1 changed file
with
3 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|