summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--macros/mate-autogen2
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