~m-grant-prg/lixbackups/jammy-trunk

« back to all changes in this revision

Viewing changes to src/prg/bash/detbckshare.sh.in

  • Committer: Mark Grant
  • Date: 2019-08-10 06:27:29 UTC
  • mfrom: (1.1.34)
  • Revision ID: m.grant.prg@gmail.com-20190810062729-pjz5bw6isbieowtf
Merge new upstream development release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
126
126
#                               (( var )) does not need $.              #
127
127
#                               Specify type for numeric variables.     #
128
128
# 19/04/2019    MG      1.3.2   Replace obsolete backticks with $(cmd). #
 
129
# 09/08/2019    MG      1.3.3   Correct getopt CL for proper quoting.   #
129
130
#                                                                       #
130
131
#########################################################################
131
132
 
133
134
# Init variables #
134
135
##################
135
136
readonly outputprefix="$(basename $0):"
136
 
readonly version=1.3.2                          # set version variable
 
137
readonly version=1.3.3                          # set version variable
137
138
readonly packageversion=@pkgversion@            # Version of the package
138
139
readonly etclocation=@sysconfdir@/lixbackups    # Path to etc directory
139
140
 
220
221
        local GETOPTTEMP
221
222
        local tmpGETOPTTEMP
222
223
 
223
 
        tmpGETOPTTEMP="getopt -o hvV --long help,verbose,version -n $0 -- $@"
224
 
        GETOPTTEMP=$($tmpGETOPTTEMP)
 
224
        tmpGETOPTTEMP="getopt -o hvV --long help,verbose,version"
 
225
        GETOPTTEMP=$($tmpGETOPTTEMP -n "$0" -- "$@")
225
226
        std_cmd_err_handler $?
226
227
 
227
228
        eval set -- "$GETOPTTEMP"