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

« back to all changes in this revision

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

  • Committer: Mark Grant
  • Date: 2019-04-19 14:32:51 UTC
  • mfrom: (1.1.33)
  • Revision ID: m.grant.prg@gmail.com-20190419143251-08ypgn7gob1hypf9
Merge new upstream development release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
140
140
#                               Ensure numerics use (( )) not [[ ]]     #
141
141
#                               (( var )) does not need $.              #
142
142
#                               Specify type for numeric variables.     #
 
143
# 19/04/2019    MG      1.3.2   Replace obsolete backticks with $(cmd). #
143
144
#                                                                       #
144
145
#########################################################################
145
146
 
147
148
# Init variables #
148
149
##################
149
150
readonly outputprefix="$(basename $0):"
150
 
readonly version=1.3.1                          # Set version variable
 
151
readonly version=1.3.2                          # Set version variable
151
152
readonly etclocation=@sysconfdir@/lixbackups    # Path to etc directory
152
153
readonly packageversion=@pkgversion@            # Version of the package
153
154
 
245
246
        local tmpGETOPTTEMP
246
247
 
247
248
        tmpGETOPTTEMP="getopt -o ahvVw --long adhoc,help,verbose,version,"
248
 
        tmpGETOPTTEMP+="weekly"
249
 
        GETOPTTEMP=`$tmpGETOPTTEMP -n "$0" -- "$@"`
 
249
        tmpGETOPTTEMP+="weekly -n $0 -- $@"
 
250
        GETOPTTEMP=$($tmpGETOPTTEMP)
250
251
        std_cmd_err_handler $?
251
252
 
252
253
        eval set -- "$GETOPTTEMP"