diff admin/quick-install-emacs @ 52708:8f70aecafdb5

Revision: miles@gnu.org--gnu-2003/emacs--cvs-trunk--0--patch-68 Portability fix for admin/quick-install-emacs * admin/quick-install-emacs: Don't use "function" keyword when defining shell functions.
author Miles Bader <miles@gnu.org>
date Wed, 01 Oct 2003 01:38:40 +0000
parents bb955cc088f9
children f6384702a1b6
line wrap: on
line diff
--- a/admin/quick-install-emacs	Tue Sep 30 20:48:00 2003 +0000
+++ b/admin/quick-install-emacs	Wed Oct 01 01:38:40 2003 +0000
@@ -133,7 +133,8 @@
 fi
 
 CONFIG_STATUS="$BUILD/config.status"
-function get_config_var () {
+get_config_var ()
+{
   if ! sed -n "s/^s\(.\)@$1@\1\(.*\)\1.*$/\2/p" $CONFIG_STATUS | sed q | grep ''
   then
     echo 1>&2 "$me: $1: Configuration variable not found in $CONFIG_STATUS"
@@ -153,7 +154,8 @@
 DST_LIBEXEC="$prefix/libexec/emacs/$VERSION/$ARCH"
 DST_INFO="$prefix/info"
 
-function maybe_mkdir () {
+maybe_mkdir ()
+{
   if ! test -d "$1"; then
     $MKDIR "$1" 2>&1 | sed "s/^mkdir:/$me:/" 1>&2
   fi
@@ -181,7 +183,8 @@
 
 test x"$PRUNE" = xonly && exit 0
 
-function maybe_emit_copy () {
+maybe_emit_copy ()
+{
   if test "$FORCE" = yes || ! cmp -s $1 $2; then
     echo $LINK_CMD $1 $2
   fi