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

« back to all changes in this revision

Viewing changes to bootstrap.sh

  • Committer: Mark Grant
  • Date: 2019-04-28 09:28:33 UTC
  • mfrom: (2.1.26)
  • Revision ID: m.grant.prg@gmail.com-20190428092833-estdjl5dp1cqgg21
Merge new upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
#                               Add missing error check after getopt.   #
128
128
#                               Replace #! env bash with absolute path  #
129
129
#                               via configure.                          #
 
130
# 05/04/2019    MG      1.4.2   Just execute getopt command AOT eval.   #
 
131
#                               Setup trap as early as possible.        #
130
132
#                                                                       #
131
133
#########################################################################
132
134
 
134
136
# Init variables #
135
137
##################
136
138
 
137
 
readonly version=1.4.1                  # set version variable
138
 
readonly packageversion=1.3.1   # Version of the complete package
 
139
readonly version=1.4.2                  # set version variable
 
140
readonly packageversion=1.3.2   # Version of the complete package
139
141
 
140
142
# Set defaults
141
143
atonly=""
238
240
        script_exit $exit_code
239
241
}
240
242
 
 
243
# Setup trap
 
244
trap trap_exit SIGHUP SIGINT SIGQUIT SIGTERM
 
245
 
241
246
# Process command line arguments with GNU getopt.
242
247
# Parameters -  $1 is the command line.
243
248
# No return value.
252
257
        tmp+="gnulib,help,header-check,sparse,source-tarball,testing-hacks,"
253
258
        tmp+="verbose,version "
254
259
        tmp+="-n $script_name -- $@"
255
 
        GETOPTTEMP=`eval $tmp`
 
260
        GETOPTTEMP=$($tmp)
256
261
        std_cmd_err_handler $?
257
262
 
258
263
        eval set -- "$GETOPTTEMP"
490
495
# Main #
491
496
########
492
497
 
493
 
# Setup trap
494
 
trap trap_exit SIGHUP SIGINT SIGQUIT SIGTERM
495
 
 
496
498
proc_CL $@
497
499
 
498
500
# Create build log.