aboutsummaryrefslogtreecommitdiff
path: root/src/functiongetmakedeps.cpp
diff options
context:
space:
mode:
authorMike Buland <mike@xagasoft.com>2022-09-29 18:08:20 -0700
committerMike Buland <mike@xagasoft.com>2022-09-29 18:08:20 -0700
commit7ca8e2fd4e2cb712d6bac31e3c00a261a4e28102 (patch)
treee4e90f2dc7c67a6a767e8482e3b55f9f9caab6eb /src/functiongetmakedeps.cpp
parent64949cc6df77f910a1788392586759f784e62ae2 (diff)
downloadbuild-7ca8e2fd4e2cb712d6bac31e3c00a261a4e28102.tar.gz
build-7ca8e2fd4e2cb712d6bac31e3c00a261a4e28102.tar.bz2
build-7ca8e2fd4e2cb712d6bac31e3c00a261a4e28102.tar.xz
build-7ca8e2fd4e2cb712d6bac31e3c00a261a4e28102.zip
Oops, assumed bash, using sh now.
It should use the SHELL environment variable, and have a backup list, and use shells as defined by the buildscript.
Diffstat (limited to '')
-rw-r--r--src/functiongetmakedeps.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/functiongetmakedeps.cpp b/src/functiongetmakedeps.cpp
index a44f653..69003ba 100644
--- a/src/functiongetmakedeps.cpp
+++ b/src/functiongetmakedeps.cpp
@@ -33,7 +33,7 @@ Bu::String FunctionGetMakeDeps::getName() const
33Variable FunctionGetMakeDeps::call( Variable &/*input*/, VarList lParams ) 33Variable FunctionGetMakeDeps::call( Variable &/*input*/, VarList lParams )
34{ 34{
35 pContext->getView()->cmdStarted( lParams.first().getString().getStr() ); 35 pContext->getView()->cmdStarted( lParams.first().getString().getStr() );
36 Process p( Process::StdOut, "/bin/bash", "/bin/bash", "-c", 36 Process p( Process::StdOut, "/bin/sh", "/bin/sh", "-c",
37 lParams.first().getString().getStr(), NULL ); 37 lParams.first().getString().getStr(), NULL );
38 38
39 // Gather all data from the command. 39 // Gather all data from the command.