Execute default programs using full path specification.
Showing
1 changed file
with
3 additions
and
3 deletions
... | @@ -330,7 +330,7 @@ static int | ... | @@ -330,7 +330,7 @@ static int |
330 | push (struct mh_whatnow_env *wh, int argc, char **argv, int *status) | 330 | push (struct mh_whatnow_env *wh, int argc, char **argv, int *status) |
331 | { | 331 | { |
332 | int rc; | 332 | int rc; |
333 | invoke ("sendproc", "send", argc, argv, "-push", wh->file, &rc); | 333 | invoke ("sendproc", MHBINDIR "/send", argc, argv, "-push", wh->file, &rc); |
334 | return 0; | 334 | return 0; |
335 | } | 335 | } |
336 | 336 | ||
... | @@ -359,7 +359,7 @@ static int | ... | @@ -359,7 +359,7 @@ static int |
359 | refile (struct mh_whatnow_env *wh, int argc, char **argv, int *status) | 359 | refile (struct mh_whatnow_env *wh, int argc, char **argv, int *status) |
360 | { | 360 | { |
361 | int rc; | 361 | int rc; |
362 | invoke ("fileproc", "refile", argc, argv, "-file", wh->file, &rc); | 362 | invoke ("fileproc", MHBINDIR "/refile", argc, argv, "-file", wh->file, &rc); |
363 | return 0; | 363 | return 0; |
364 | } | 364 | } |
365 | 365 | ||
... | @@ -368,7 +368,7 @@ static int | ... | @@ -368,7 +368,7 @@ static int |
368 | send (struct mh_whatnow_env *wh, int argc, char **argv, int *status) | 368 | send (struct mh_whatnow_env *wh, int argc, char **argv, int *status) |
369 | { | 369 | { |
370 | int rc; | 370 | int rc; |
371 | invoke ("sendproc", "send", argc, argv, wh->file, NULL, &rc); | 371 | invoke ("sendproc", MHBINDIR "/send", argc, argv, wh->file, NULL, &rc); |
372 | return 0; | 372 | return 0; |
373 | } | 373 | } |
374 | 374 | ... | ... |
-
Please register or sign in to post a comment