autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

More ash fixes


From: Pavel Roskin
Subject: More ash fixes
Date: Thu, 21 Sep 2000 10:47:54 -0400 (EDT)

Hello!

Here are more fixes related to ash.

ChangeLog:
        * autoheader.sh: Don't check status of variable assignment -
        it's undefined in ash 0.2.
        * autoreconf.sh: Likewise.
        * autoupdate.sh: Likewise.
        * autoconf.sh: Likewise. Eliminated command substitution
        inside variable expansion - ash 0.2 coredumps on it.

Regards,
Pavel Roskin

________________________________
Index: autoconf.sh
--- autoconf.sh Thu Sep 21 09:43:44 2000
+++ autoconf.sh Thu Sep 21 10:45:18 2000
@@ -105,7 +105,8 @@
 
 # Variables.
 : address@hidden@}}
-: ${AC_ACLOCALDIR=`(aclocal --print-ac-dir) 2>/dev/null`}
+test -z "$AC_ACLOCALDIR" &&
+  AC_ACLOCALDIR=`(aclocal --print-ac-dir) 2>/dev/null`
 : address@hidden@}
 debug=false
 # Trace Autoconf's initialization?
@@ -244,7 +245,8 @@
   test -n "$tmp" && test -d "$tmp"
 } ||
 {
-  tmp=$TMPDIR/ac$$ && (umask 077 && mkdir $tmp)
+  tmp=$TMPDIR/ac$$
+  (umask 077 && mkdir $tmp)
 } ||
 {
    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
Index: autoheader.sh
--- autoheader.sh       Thu Sep 21 09:43:45 2000
+++ autoheader.sh       Thu Sep 21 10:00:44 2000
@@ -189,7 +189,8 @@
   test -n "$tmp" && test -d "$tmp"
 }  ||
 {
-  tmp=$TMPDIR/ah$$ && (umask 077 && mkdir $tmp)
+  tmp=$TMPDIR/ah$$
+  (umask 077 && mkdir $tmp)
 } ||
 {
    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
Index: autoreconf.sh
--- autoreconf.sh       Thu Sep 21 09:43:45 2000
+++ autoreconf.sh       Thu Sep 21 10:00:44 2000
@@ -251,7 +251,8 @@
   test -n "$tmp" && test -d "$tmp"
 }  ||
 {
-  tmp=$TMPDIR/ar$$ && (umask 077 && mkdir $tmp)
+  tmp=$TMPDIR/ar$$
+  (umask 077 && mkdir $tmp)
 } ||
 {
    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
Index: autoupdate.sh
--- autoupdate.sh       Thu Sep 21 09:43:45 2000
+++ autoupdate.sh       Thu Sep 21 10:00:44 2000
@@ -182,7 +182,8 @@
   test -n "$tmp" && test -d "$tmp"
 }  ||
 {
-  tmp=$TMPDIR/au$$ && (umask 077 && mkdir $tmp)
+  tmp=$TMPDIR/au$$
+  (umask 077 && mkdir $tmp)
 } ||
 {
    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
________________________________




reply via email to

[Prev in Thread] Current Thread [Next in Thread]