diff options
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/ChangeLog | 5 | ||||
| -rwxr-xr-x | admin/quick-install-emacs | 9 |
2 files changed, 11 insertions, 3 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog index b3bd3d1552d..cca47783b62 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2003-10-01 Miles Bader <miles@gnu.org> | ||
| 2 | |||
| 3 | * quick-install-emacs: Don't use "function" keyword when defining | ||
| 4 | shell functions. | ||
| 5 | |||
| 1 | 2003-09-27 Miles Bader <miles@gnu.ai.mit.edu> | 6 | 2003-09-27 Miles Bader <miles@gnu.ai.mit.edu> |
| 2 | 7 | ||
| 3 | * quick-install-emacs: Remove fns-* pruning, since that file no | 8 | * quick-install-emacs: Remove fns-* pruning, since that file no |
diff --git a/admin/quick-install-emacs b/admin/quick-install-emacs index 19148a392fd..16cd936a783 100755 --- a/admin/quick-install-emacs +++ b/admin/quick-install-emacs | |||
| @@ -133,7 +133,8 @@ elif test ! -r "$BUILD/config.status"; then | |||
| 133 | fi | 133 | fi |
| 134 | 134 | ||
| 135 | CONFIG_STATUS="$BUILD/config.status" | 135 | CONFIG_STATUS="$BUILD/config.status" |
| 136 | function get_config_var () { | 136 | get_config_var () |
| 137 | { | ||
| 137 | if ! sed -n "s/^s\(.\)@$1@\1\(.*\)\1.*$/\2/p" $CONFIG_STATUS | sed q | grep '' | 138 | if ! sed -n "s/^s\(.\)@$1@\1\(.*\)\1.*$/\2/p" $CONFIG_STATUS | sed q | grep '' |
| 138 | then | 139 | then |
| 139 | echo 1>&2 "$me: $1: Configuration variable not found in $CONFIG_STATUS" | 140 | echo 1>&2 "$me: $1: Configuration variable not found in $CONFIG_STATUS" |
| @@ -153,7 +154,8 @@ DST_BIN="$prefix/bin" | |||
| 153 | DST_LIBEXEC="$prefix/libexec/emacs/$VERSION/$ARCH" | 154 | DST_LIBEXEC="$prefix/libexec/emacs/$VERSION/$ARCH" |
| 154 | DST_INFO="$prefix/info" | 155 | DST_INFO="$prefix/info" |
| 155 | 156 | ||
| 156 | function maybe_mkdir () { | 157 | maybe_mkdir () |
| 158 | { | ||
| 157 | if ! test -d "$1"; then | 159 | if ! test -d "$1"; then |
| 158 | $MKDIR "$1" 2>&1 | sed "s/^mkdir:/$me:/" 1>&2 | 160 | $MKDIR "$1" 2>&1 | sed "s/^mkdir:/$me:/" 1>&2 |
| 159 | fi | 161 | fi |
| @@ -181,7 +183,8 @@ fi | |||
| 181 | 183 | ||
| 182 | test x"$PRUNE" = xonly && exit 0 | 184 | test x"$PRUNE" = xonly && exit 0 |
| 183 | 185 | ||
| 184 | function maybe_emit_copy () { | 186 | maybe_emit_copy () |
| 187 | { | ||
| 185 | if test "$FORCE" = yes || ! cmp -s $1 $2; then | 188 | if test "$FORCE" = yes || ! cmp -s $1 $2; then |
| 186 | echo $LINK_CMD $1 $2 | 189 | echo $LINK_CMD $1 $2 |
| 187 | fi | 190 | fi |