3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/misc/findutils/change_echo_path.patch
Wouter den Breejen eb1bfefa91 Fixed a /bin/echo reference
svn path=/nixpkgs/trunk/; revision=8995
2007-07-18 10:32:20 +00:00

13 lines
550 B
Diff

diff -Naur findutils-4.2.30/xargs/xargs.c findutils-4.2.30_new/xargs/xargs.c
--- findutils-4.2.30/xargs/xargs.c 2007-02-27 11:21:08.000000000 +0100
+++ findutils-4.2.30_new/xargs/xargs.c 2007-07-17 19:02:05.000000000 +0200
@@ -402,7 +402,7 @@
int show_limits = 0; /* --show-limits */
int always_run_command = 1;
char *input_file = "-"; /* "-" is stdin */
- char *default_cmd = "/bin/echo";
+ char *default_cmd = "echo";
int (*read_args) PARAMS ((void)) = read_line;
void (*act_on_init_result)(void) = noop;
int env_too_big = 0;