Removed a time-restricted warning about changed options to bin/mkpatch
- Legacy-Id: 18629
This commit is contained in:
parent
9cd45195ef
commit
7475ef9d50
12
bin/mkpatch
12
bin/mkpatch
|
@ -80,12 +80,14 @@ if [ "$(uname)" = "Linux" ]; then
|
|||
if [ $? != 0 ] ; then die "Terminating..." >&2 ; exit 1 ; fi
|
||||
eval set -- "$args"
|
||||
sed="sed -r"
|
||||
date="date -d"
|
||||
else
|
||||
# Darwin, BSDs
|
||||
args=$(getopt -o$shortopts $SV $*)
|
||||
if [ $? != 0 ] ; then die "Terminating..." >&2 ; exit 1 ; fi
|
||||
set -- $args
|
||||
sed="sed -E"
|
||||
date="date -j -f %Y-%m-%d"
|
||||
fi
|
||||
|
||||
while true ; do
|
||||
|
@ -105,16 +107,6 @@ done
|
|||
# ----------------------------------------------------------------------
|
||||
# The program itself
|
||||
|
||||
today=$(date +%s)
|
||||
until=$(date -d 2020-10-01 +%s)
|
||||
if [ $today -lt $until ]; then
|
||||
echo -e "\n** Please note that the --name switch must now be used if you want to specify"\
|
||||
"\n a name. If a changeset is given with the -c switch, the name can be"\
|
||||
"\n autogenerated from the commit comment, though."\
|
||||
"\n"
|
||||
fi
|
||||
|
||||
|
||||
if [ "$CHG" ]; then
|
||||
if [ "$NAME" ]; then
|
||||
name="${NAME//_/-}-c$CHG"
|
||||
|
|
Loading…
Reference in a new issue