Mercurial > emacs
comparison make-dist @ 995:9cb2c2723b73
*** empty log message ***
author | Eric S. Raymond <esr@snark.thyrsus.com> |
---|---|
date | Fri, 14 Aug 1992 22:56:58 +0000 |
parents | 5b2a1922c4d5 |
children | d8d503897aa5 |
comparison
equal
deleted
inserted
replaced
994:5b2a1922c4d5 | 995:9cb2c2723b73 |
---|---|
35 # This option tells make-dist to make the distribution normally, then | 35 # This option tells make-dist to make the distribution normally, then |
36 # remove all files newer than the given timestamp file. This is useful | 36 # remove all files newer than the given timestamp file. This is useful |
37 # for creating incremental or patch distributions | 37 # for creating incremental or patch distributions |
38 "--newer") | 38 "--newer") |
39 newer=$2 | 39 newer=$2 |
40 new=.new | |
40 shift | 41 shift |
41 ;; | 42 ;; |
42 * ) | 43 * ) |
43 echo "${progname}: Unrecognized argument: $1" >&2 | 44 echo "${progname}: Unrecognized argument: $1" >&2 |
44 exit 1 | 45 exit 1 |
74 exit 1 | 75 exit 1 |
75 fi | 76 fi |
76 | 77 |
77 echo "Creating staging directory: \`${tempparent}'" | 78 echo "Creating staging directory: \`${tempparent}'" |
78 mkdir ${tempparent} | 79 mkdir ${tempparent} |
79 emacsname="emacs-${version}" | 80 emacsname="emacs-${version}${new}" |
80 tempdir="${tempparent}/${emacsname}" | 81 tempdir="${tempparent}/${emacsname}" |
81 | 82 |
82 # This trap ensures that the staging directory will be cleaned up even | 83 # This trap ensures that the staging directory will be cleaned up even |
83 # when the script is interrupted in mid-career. | 84 # when the script is interrupted in mid-career. |
84 if [ "${clean_up}" = yes ]; then | 85 if [ "${clean_up}" = yes ]; then |