Fossil SCM

Make the PATH= argument identical for the patch and the sync commands, just to avoid confusion.

drh 2024-02-06 15:15 trunk
Commit e82375910b8a0f546d458ff46038d1caf884c4a21a7d2ba3a896209f155a8721
1 file changed +1 -1
--- src/http_transport.c
+++ src/http_transport.c
@@ -143,11 +143,11 @@
143143
&& (pUrlData->flags & URL_SSH_PATH)!=0
144144
){
145145
blob_append_escaped_arg(&zCmd,
146146
/* tag-20240206-b:
147147
** vvvv--- keep in sync with PATH= at tag-20240206-a */
148
- "PATH=bin:/usr/local/bin:/opt/homebrew/bin:$PATH", 1);
148
+ "PATH=$HOME/bin:/usr/local/bin:/opt/homebrew/bin:$PATH", 1);
149149
}
150150
blob_append_escaped_arg(&zCmd, pUrlData->fossil, 1);
151151
blob_append(&zCmd, " test-http", 10);
152152
if( pUrlData->path && pUrlData->path[0] ){
153153
blob_append_escaped_arg(&zCmd, pUrlData->path, 1);
154154
--- src/http_transport.c
+++ src/http_transport.c
@@ -143,11 +143,11 @@
143 && (pUrlData->flags & URL_SSH_PATH)!=0
144 ){
145 blob_append_escaped_arg(&zCmd,
146 /* tag-20240206-b:
147 ** vvvv--- keep in sync with PATH= at tag-20240206-a */
148 "PATH=bin:/usr/local/bin:/opt/homebrew/bin:$PATH", 1);
149 }
150 blob_append_escaped_arg(&zCmd, pUrlData->fossil, 1);
151 blob_append(&zCmd, " test-http", 10);
152 if( pUrlData->path && pUrlData->path[0] ){
153 blob_append_escaped_arg(&zCmd, pUrlData->path, 1);
154
--- src/http_transport.c
+++ src/http_transport.c
@@ -143,11 +143,11 @@
143 && (pUrlData->flags & URL_SSH_PATH)!=0
144 ){
145 blob_append_escaped_arg(&zCmd,
146 /* tag-20240206-b:
147 ** vvvv--- keep in sync with PATH= at tag-20240206-a */
148 "PATH=$HOME/bin:/usr/local/bin:/opt/homebrew/bin:$PATH", 1);
149 }
150 blob_append_escaped_arg(&zCmd, pUrlData->fossil, 1);
151 blob_append(&zCmd, " test-http", 10);
152 if( pUrlData->path && pUrlData->path[0] ){
153 blob_append_escaped_arg(&zCmd, pUrlData->path, 1);
154

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button