diff options
author | infirit <[email protected]> | 2014-12-02 11:11:49 +0100 |
---|---|---|
committer | infirit <[email protected]> | 2014-12-02 11:16:35 +0100 |
commit | cf14b660b289878b0a6e5a406e6fccd58e7026d6 (patch) | |
tree | bdc64593f70f5a60ac82e4b8f65c67f54aded530 /macros/mate-autogen | |
parent | 37be3c82b50eb2c51ac1f4bb5110b1174d750066 (diff) | |
download | mate-common-cf14b660b289878b0a6e5a406e6fccd58e7026d6.tar.bz2 mate-common-cf14b660b289878b0a6e5a406e6fccd58e7026d6.tar.xz |
mate-autogen: Fix check if stdin is a tty
Use the simpler gnome-common check from commit: d98710d08e643fe2e2ba8d56540c350062cf0ecc
Diffstat (limited to 'macros/mate-autogen')
-rw-r--r-- | macros/mate-autogen | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/mate-autogen b/macros/mate-autogen index 0e8f986..c7bad98 100644 --- a/macros/mate-autogen +++ b/macros/mate-autogen @@ -51,7 +51,7 @@ case `echo -n x` in esac # some terminal codes ... -if tty <&1 >/dev/null 2>&1; then +if tty 1>/dev/null 2>&1; then boldface="`tput bold 2>/dev/null`" normal="`tput sgr0 2>/dev/null`" else |