]> git.eshelyaron.com Git - emacs.git/commitdiff
* configure.ac: Port to strict POSIX shells on non-MinGW.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 2 Oct 2014 22:29:39 +0000 (15:29 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 2 Oct 2014 22:29:39 +0000 (15:29 -0700)
Fixes: debbugs:18612
ChangeLog
configure.ac

index bffcbbab4459a10ef5295794441f382c1461b51c..256f78f6fb34f1600c673809e308167de61b264c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-10-02  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * configure.ac: Port to strict POSIX shells on non-MinGW (Bug#18612).
+
 2014-09-21  Jan Djärv  <jan.h.d@swipnet.se>
 
        * configure.ac: Increase headerpad_extra to 1000, update the comment
index dd70700bacbcf0442725e15a269bf53ff4fd0b8c..20acc46a1b36bc07aa1c7f3b520e8fcc327417dc 100644 (file)
@@ -35,7 +35,8 @@ then
       # "/c/foo/bar", to simplify later conversions to native Windows
       # format ("c:/foo/bar")
       srcdir=`cd "${srcdir}" && pwd -W`
-      srcdir="/${srcdir:0:1}${srcdir:2}"
+      # 'eval' pacifies strict POSIX non-MinGW shells (Bug#18612).
+      eval 'srcdir="/${srcdir:0:1}${srcdir:2}"'
       ;;
   esac
 fi