Skip to content

Commit ac8ef5a

Browse files
committed
Add support for g-prefixed GNU coreutils
Prefixed versions may be used on a system that has a base BSD coreutils, such as OS X where using MacPorts GNU Coreutils can be installed, but by default are prefixed with 'g'. Even if PATH is overriden, the path used contains symbolic links to the g-prefixed binaries, which means the g-prefixed name is what will appear in the process list.
1 parent 45ea35e commit ac8ef5a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

progress.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ char *default_proc_names[] = {"cp", "mv", "dd", "tar", "bsdtar", "cat", "rsync",
8585
"split",
8686
"gpg",
8787
#if defined(__APPLE__) || defined(__FreeBSD__)
88-
"gcp", "gmv",
88+
"gcp", "gmv", "gdd", "gnutar", "gcat", "gcut", "gsort", "gmd5sum",
89+
"gsha1sum", "gsha224sum", "gssha256sum", "gsha384sum", "gsha512sum",
8990
#endif
9091
NULL
9192
};

0 commit comments

Comments
 (0)