Test for install_sh missing +set

Thomas Jahns <[email protected]>
Newsgroups gmane.comp.sysutils.automake.patches
Message-ID <[email protected]>
Hello,

I noticed that install_sh cannot be overridden even though the code is meant to
provide that because there is a problem with the variable expansion.

Please see the attached patch vs. 9042530473b52251a4022cc0a0e02636b9a53211

Regards, Thomas
0001-Fix-test-for-install_sh.patch (text/x-patch, 694 B)
From a5eadb7e067ecc037afed25618884acc380d4686 Mon Sep 17 00:00:00 2001
From: Thomas Jahns <[email protected]>
Date: Thu, 7 Aug 2014 11:03:06 +0200
Subject: [PATCH] Fix test for install_sh.

---
 m4/install-sh.m4 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/m4/install-sh.m4 b/m4/install-sh.m4
index 094c10a..16a3d9c 100644
--- a/m4/install-sh.m4
+++ b/m4/install-sh.m4
@@ -10,7 +10,7 @@
 # Define $install_sh.
 AC_DEFUN([AM_PROG_INSTALL_SH],
 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
-if test x"${install_sh}" != xset; then
+if test x"${install_sh+set}" != xset; then
   case $am_aux_dir in
   *\ * | *\	*)
     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
-- 
1.7.10.4
smime.p7s (application/pkcs7-signature, 4.5 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.