aboutsummaryrefslogtreecommitdiff
path: root/src/context.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/context.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 'src/context.cpp')
-rw-r--r--src/context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/context.cpp b/src/context.cpp
index b9c215a..6e27256 100644
--- a/src/context.cpp
+++ b/src/context.cpp
@@ -238,7 +238,7 @@ Bu::String Context::expand( const Bu::String &sInS )
238 { 238 {
239 //sio << "Executing command: >>>" << sCmd << "<<<" << sio.nl; 239 //sio << "Executing command: >>>" << sCmd << "<<<" << sio.nl;
240 Process p( Process::StdOut, 240 Process p( Process::StdOut,
241 "/bin/bash", "/bin/bash", "-c", sCmd.getStr(), NULL 241 "/bin/sh", "/bin/sh", "-c", sCmd.getStr(), NULL
242 ); 242 );
243 char buf[4096]; 243 char buf[4096];
244 do 244 do