[PATCH] Use SHELL_PATH

Subsystems: the rest

DORMANTno replies

3 messages, 3 authors, 2016-06-15 · open the first message on its own page

[PATCH] Use SHELL_PATH

From: SungHyun Nam <hidden>
Date: 2016-06-15 22:44:57

Signed-off-by: SungHyun Nam <redacted>
---
  t/Makefile |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/t/Makefile b/t/Makefile
index a778865..0d65ced 100644
--- a/t/Makefile
+++ b/t/Makefile
@@ -26,7 +26,7 @@ clean:
  	$(RM) -r 'trash directory' test-results

  aggregate-results:
-	./aggregate-results.sh test-results/t*-*
+	'$(SHELL_PATH_SQ)' ./aggregate-results.sh test-results/t*-*

  # we can test NO_OPTIMIZE_COMMITS independently of LC_ALL
  full-svn-test:
-- 
1.5.6.3.350.g6c11a

Re: [PATCH] Use SHELL_PATH

From: Sverre Rabbelier <hidden>
Date: 2016-06-15 22:44:57

On Wed, Jul 16, 2008 at 3:31 AM, SungHyun Nam [off-list ref] wrote:
quoted hunk
Signed-off-by: SungHyun Nam <redacted>
---
 t/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/t/Makefile b/t/Makefile
index a778865..0d65ced 100644
--- a/t/Makefile
+++ b/t/Makefile
@@ -26,7 +26,7 @@ clean:
       $(RM) -r 'trash directory' test-results

 aggregate-results:
-       ./aggregate-results.sh test-results/t*-*
+       '$(SHELL_PATH_SQ)' ./aggregate-results.sh test-results/t*-*

 # we can test NO_OPTIMIZE_COMMITS independently of LC_ALL
 full-svn-test:
--
1.5.6.3.350.g6c11a
It is not clear to me what this patch does, there is no justification
in the commit msg either. Instead you say what is being done, which we
can see from the commit diff. Please clarify?

-- 
Cheers,

Sverre Rabbelier

Re: [PATCH] Use SHELL_PATH

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:44:57

Hi,

On Wed, 16 Jul 2008, Sverre Rabbelier wrote:
On Wed, Jul 16, 2008 at 3:31 AM, SungHyun Nam [off-list ref] wrote:
quoted
Signed-off-by: SungHyun Nam <redacted>
---
 t/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/t/Makefile b/t/Makefile
index a778865..0d65ced 100644
--- a/t/Makefile
+++ b/t/Makefile
@@ -26,7 +26,7 @@ clean:
       $(RM) -r 'trash directory' test-results

 aggregate-results:
-       ./aggregate-results.sh test-results/t*-*
+       '$(SHELL_PATH_SQ)' ./aggregate-results.sh test-results/t*-*

 # we can test NO_OPTIMIZE_COMMITS independently of LC_ALL
 full-svn-test:
--
1.5.6.3.350.g6c11a
It is not clear to me what this patch does, there is no justification
in the commit msg either. Instead you say what is being done, which we
can see from the commit diff. Please clarify?
My _guess_ is that this comes from a platform like Solaris, where /bin/sh 
is not even POSIX.  And I'd expect aggregate-results to use some 
non-trivial shell constructs which break with such a broken shell.

But I completely agree, the commit message desperately wants to include 
some justification.

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help