summaryrefslogtreecommitdiff
path: root/admin/quick-install-emacs
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>2003-10-01 01:38:40 +0000
committerMiles Bader <miles@gnu.org>2003-10-01 01:38:40 +0000
commitfeebeb72d3d3fd67695f31c0ba453ff39cd27b80 (patch)
tree4e663af94a16e884c5065e6235addcdbe5d9d0bb /admin/quick-install-emacs
parentfb93a896b2ceba684c7b5f493d08d3a89f49d82d (diff)
downloademacs-feebeb72d3d3fd67695f31c0ba453ff39cd27b80.tar.gz
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.
Diffstat (limited to 'admin/quick-install-emacs')
-rwxr-xr-xadmin/quick-install-emacs9
1 files changed, 6 insertions, 3 deletions
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
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_BIN="$prefix/bin"
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 @@ fi
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