* 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>
|
2002-01-21 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* cygmagic: Attempt to figure out if sum takes an option.
|
* cygmagic: Attempt to figure out if sum takes an option.
|
||||||
|
@ -17,7 +17,7 @@ cat <<EOF > $file_magic
|
|||||||
/* autogenerated - do not edit */
|
/* autogenerated - do not edit */
|
||||||
#include "$file"
|
#include "$file"
|
||||||
EOF
|
EOF
|
||||||
if sum -r /dev/null; then
|
if sum -r /dev/null >/dev/null 2>&1; then
|
||||||
sumit(){ sum -r $*; }
|
sumit(){ sum -r $*; }
|
||||||
else
|
else
|
||||||
sumit(){ sum $*; }
|
sumit(){ sum $*; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user