* cygmagic: Suppress error output when figuring out if sum takes an option.
This commit is contained in:
parent
2c2473bcac
commit
aed69a5b0d
|
@ -1,3 +1,8 @@
|
|||
2002-01-21 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* cygmagic: Suppress error output when figuring out if sum takes an
|
||||
option.
|
||||
|
||||
2002-01-21 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* cygmagic: Attempt to figure out if sum takes an option.
|
||||
|
|
|
@ -17,7 +17,7 @@ cat <<EOF > $file_magic
|
|||
/* autogenerated - do not edit */
|
||||
#include "$file"
|
||||
EOF
|
||||
if sum -r /dev/null; then
|
||||
if sum -r /dev/null >/dev/null 2>&1; then
|
||||
sumit(){ sum -r $*; }
|
||||
else
|
||||
sumit(){ sum $*; }
|
||||
|
|
Loading…
Reference in New Issue