fix: typoes
This commit is contained in:
@@ -31,7 +31,7 @@ backupdist()
|
|||||||
local file=
|
local file=
|
||||||
for file in $@; do
|
for file in $@; do
|
||||||
local tmstmp=$(stdtime)
|
local tmstmp=$(stdtime)
|
||||||
if [[ - L ${file} ]]; then
|
if [[ -L ${file} ]]; then
|
||||||
# With symbolik links we call again backupdist to treat target
|
# With symbolik links we call again backupdist to treat target
|
||||||
backupdist $(readlink -f ${file})
|
backupdist $(readlink -f ${file})
|
||||||
elif [[ -f ${file} ]]; then
|
elif [[ -f ${file} ]]; then
|
||||||
|
|||||||
@@ -103,7 +103,7 @@ export -f show_version
|
|||||||
# Get module name from module file
|
# Get module name from module file
|
||||||
get_mod_name()
|
get_mod_name()
|
||||||
{
|
{
|
||||||
if [[ $# -ne 1 ]] then
|
if [[ $# -ne 1 ]]; then
|
||||||
prnt E "get_mod_name(): Bad number of parameters."
|
prnt E "get_mod_name(): Bad number of parameters."
|
||||||
die 11 --force
|
die 11 --force
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user